Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 14.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009704/0.0009706, allocations: 178 kB / 361.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.1 MB / 0.6195 GB, free: 2.996 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.0008201, allocations: 84.27 kB / 0.7325 GB, free: 53.95 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2059/0.2067, allocations: 121.5 MB / 0.8512 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.4159, allocations: 115.3 MB / 0.9638 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.436/3.852, allocations: 2.073 GB / 3.036 GB, free: 70.55 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/3.852, allocations: 90.88 kB / 3.037 GB, free: 70.46 MB / 0.9356 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.1352/3.988, allocations: 66.14 MB / 3.101 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/3.988, allocations: 12 kB / 3.101 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/3.989, allocations: 198.5 kB / 3.101 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/3.99, allocations: 0.6277 MB / 3.102 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/3.99, allocations: 31.98 kB / 3.102 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/3.99, allocations: 46.91 kB / 3.102 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/3.991, allocations: 0.9796 MB / 3.103 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/3.992, allocations: 0.7271 MB / 3.104 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/3.992, allocations: 0 / 3.104 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/3.992, allocations: 0 / 3.104 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/3.992, allocations: 27.91 kB / 3.104 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2622/4.254, allocations: 2.335 MB / 3.106 GB, free: 393.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/4.255, allocations: 0.6487 MB / 3.107 GB, free: 393.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/4.256, allocations: 251.8 kB / 3.107 GB, free: 393.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/4.256, allocations: 109.1 kB / 3.107 GB, free: 393.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/4.256, allocations: 391.4 kB / 3.107 GB, free: 393.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/4.256, allocations: 0 / 3.107 GB, free: 393.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73): time 0.001582/4.258, allocations: 0.6678 MB / 3.108 GB, free: 393.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/4.258, allocations: 241.9 kB / 3.108 GB, free: 393.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/4.259, allocations: 0.5495 MB / 3.109 GB, free: 393 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/4.259, allocations: 29.42 kB / 3.109 GB, free: 392.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/4.259, allocations: 296.2 kB / 3.109 GB, free: 392.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/4.259, allocations: 229.7 kB / 3.109 GB, free: 392.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/4.259, allocations: 3.312 kB / 3.109 GB, free: 392.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001081/4.259, allocations: 381.6 kB / 3.11 GB, free: 392.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/4.259, allocations: 195.8 kB / 3.11 GB, free: 392.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/4.26, allocations: 300.8 kB / 3.11 GB, free: 392.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/4.26, allocations: 255 kB / 3.11 GB, free: 392.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/4.26, allocations: 3.844 kB / 3.11 GB, free: 392.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001419/4.262, allocations: 0.6767 MB / 3.111 GB, free: 392.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/4.262, allocations: 11.38 kB / 3.111 GB, free: 392.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/4.262, allocations: 0 / 3.111 GB, free: 392.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/4.262, allocations: 87.64 kB / 3.111 GB, free: 392.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/4.263, allocations: 139.7 kB / 3.111 GB, free: 392.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/4.265, allocations: 1.468 MB / 3.113 GB, free: 391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/4.265, allocations: 67.92 kB / 3.113 GB, free: 391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/4.265, allocations: 27.09 kB / 3.113 GB, free: 391 MB / 0.9356 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.0001309/4.265, allocations: 125.8 kB / 3.113 GB, free: 390.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/4.265, allocations: 75.44 kB / 3.113 GB, free: 390.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/4.267, allocations: 0.9459 MB / 3.114 GB, free: 390.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/4.267, allocations: 10.34 kB / 3.114 GB, free: 390.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/4.267, allocations: 0 / 3.114 GB, free: 390.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/4.267, allocations: 7.594 kB / 3.114 GB, free: 390.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/4.268, allocations: 0.7801 MB / 3.115 GB, free: 390.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/4.268, allocations: 0 / 3.115 GB, free: 390.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/4.269, allocations: 148.3 kB / 3.115 GB, free: 390.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/4.269, allocations: 84.89 kB / 3.115 GB, free: 390.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/4.269, allocations: 24.28 kB / 3.115 GB, free: 390.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/4.27, allocations: 1.481 MB / 3.116 GB, free: 389.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/4.27, allocations: 1.688 kB / 3.116 GB, free: 389.3 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001303/4.272, allocations: 0.7754 MB / 3.117 GB, free: 389.2 MB / 0.9356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00144/4.273, allocations: 1.2 MB / 3.118 GB, free: 388.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/4.273, allocations: 284.3 kB / 3.119 GB, free: 388.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/4.274, allocations: 3.938 kB / 3.119 GB, free: 388.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/4.274, allocations: 59.95 kB / 3.119 GB, free: 388.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/4.274, allocations: 52.73 kB / 3.119 GB, free: 388.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/4.274, allocations: 31.09 kB / 3.119 GB, free: 388.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.0003868/4.275, allocations: 439.9 kB / 3.119 GB, free: 388.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001388/4.276, allocations: 388.8 kB / 3.12 GB, free: 388.4 MB / 0.9356 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.001256/4.277, allocations: 1.052 MB / 3.121 GB, free: 388.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009732/4.278, allocations: 0.657 MB / 3.121 GB, free: 388.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/4.278, allocations: 2.844 kB / 3.121 GB, free: 388.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/4.279, allocations: 451.1 kB / 3.122 GB, free: 388.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/4.28, allocations: 224.3 kB / 3.122 GB, free: 388.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/4.283, allocations: 1.386 MB / 3.123 GB, free: 387.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/4.284, allocations: 1.137 MB / 3.124 GB, free: 387 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/4.284, allocations: 0 / 3.124 GB, free: 387 MB / 0.9356 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)