Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 188.1 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.2 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 85.2 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3025/0.3036, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/1.043, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.928, allocations: 2.074 GB / 3.046 GB, free: 284.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/5.928, allocations: 92.47 kB / 3.046 GB, free: 284.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.1477/6.076, allocations: 66.14 MB / 3.111 GB, free: 269.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/6.076, allocations: 11.78 kB / 3.111 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/6.077, allocations: 200.1 kB / 3.111 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009479/6.078, allocations: 0.6407 MB / 3.112 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/6.078, allocations: 27.53 kB / 3.112 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/6.078, allocations: 46.5 kB / 3.112 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001298/6.079, allocations: 0.9792 MB / 3.113 GB, free: 268.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/6.08, allocations: 0.7235 MB / 3.114 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/6.08, allocations: 3.938 kB / 3.114 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/6.08, allocations: 3.562 kB / 3.114 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/6.08, allocations: 23.38 kB / 3.114 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/6.084, allocations: 2.337 MB / 3.116 GB, free: 266.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/6.085, allocations: 0.6575 MB / 3.116 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/6.085, allocations: 246.5 kB / 3.117 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/6.085, allocations: 113.9 kB / 3.117 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006673/6.086, allocations: 385.9 kB / 3.117 GB, free: 266.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.937e-06/6.086, allocations: 3.938 kB / 3.117 GB, free: 266.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001925/6.088, allocations: 0.6718 MB / 3.118 GB, free: 266.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/6.088, allocations: 240.2 kB / 3.118 GB, free: 266.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/6.089, allocations: 0.5445 MB / 3.119 GB, free: 265.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/6.089, allocations: 28.02 kB / 3.119 GB, free: 265.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/6.089, allocations: 298.8 kB / 3.119 GB, free: 265.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/6.089, allocations: 236.6 kB / 3.119 GB, free: 265.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/6.089, allocations: 0 / 3.119 GB, free: 265.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/6.09, allocations: 384.7 kB / 3.12 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/6.09, allocations: 196.3 kB / 3.12 GB, free: 265.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/6.09, allocations: 301.6 kB / 3.12 GB, free: 265 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/6.091, allocations: 255.6 kB / 3.12 GB, free: 265 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/6.091, allocations: 0.7188 kB / 3.12 GB, free: 265 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001744/6.093, allocations: 0.6787 MB / 3.121 GB, free: 264.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/6.093, allocations: 5.625 kB / 3.121 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/6.093, allocations: 0 / 3.121 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/6.093, allocations: 82.59 kB / 3.121 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/6.094, allocations: 144.4 kB / 3.121 GB, free: 264.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/6.096, allocations: 1.466 MB / 3.123 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/6.096, allocations: 70.17 kB / 3.123 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/6.096, allocations: 27.83 kB / 3.123 GB, free: 263.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/6.097, allocations: 119.2 kB / 3.123 GB, free: 263.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/6.097, allocations: 84.73 kB / 3.123 GB, free: 263.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/6.099, allocations: 0.9388 MB / 3.124 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/6.099, allocations: 8.531 kB / 3.124 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/6.099, allocations: 5.281 kB / 3.124 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/6.099, allocations: 3.984 kB / 3.124 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/6.1, allocations: 0.7727 MB / 3.125 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/6.1, allocations: 0 / 3.125 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/6.101, allocations: 145.5 kB / 3.125 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/6.101, allocations: 88.83 kB / 3.125 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/6.101, allocations: 18.64 kB / 3.125 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/6.103, allocations: 1.483 MB / 3.126 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.103, allocations: 1.25 kB / 3.126 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/6.105, allocations: 0.7767 MB / 3.127 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001799/6.107, allocations: 1.197 MB / 3.128 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/6.107, allocations: 283.5 kB / 3.128 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/6.107, allocations: 1.625 kB / 3.128 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/6.108, allocations: 59.73 kB / 3.128 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/6.108, allocations: 55.22 kB / 3.129 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/6.108, allocations: 26.95 kB / 3.129 GB, free: 260.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005431/6.109, allocations: 444.3 kB / 3.129 GB, free: 260 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001719/6.11, allocations: 390.2 kB / 3.129 GB, free: 259.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/6.112, allocations: 1.067 MB / 3.13 GB, free: 259.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001157/6.113, allocations: 0.6574 MB / 3.131 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.113, allocations: 6.969 kB / 3.131 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/6.114, allocations: 450.6 kB / 3.131 GB, free: 259 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/6.115, allocations: 217.2 kB / 3.132 GB, free: 258.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/6.118, allocations: 1.382 MB / 3.133 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/6.119, allocations: 1.139 MB / 3.134 GB, free: 257.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.6e-07/6.119, allocations: 5.094 kB / 3.134 GB, free: 257.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)