Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",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 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009708/0.0009709, allocations: 181.2 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 83.34 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.336/0.3369, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.4955, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6758/1.171, allocations: 382.6 MB / 1.258 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.172, allocations: 94.86 kB / 1.258 GB, free: 3.984 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 1.64/2.812, allocations: 0.5506 GB / 1.809 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/2.812, allocations: 12 kB / 1.809 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/2.814, allocations: 0.5443 MB / 1.809 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/2.829, allocations: 6.981 MB / 1.816 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/2.829, allocations: 20 kB / 1.816 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/2.829, allocations: 39.91 kB / 1.816 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/2.83, allocations: 482.5 kB / 1.817 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/2.831, allocations: 0.6103 MB / 1.817 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/2.831, allocations: 4 kB / 1.817 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/2.831, allocations: 0 / 1.817 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/2.831, allocations: 19.62 kB / 1.817 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/2.837, allocations: 4.565 MB / 1.822 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/2.838, allocations: 382.2 kB / 1.822 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/2.838, allocations: 222 kB / 1.822 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/2.839, allocations: 0.9368 MB / 1.823 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/2.839, allocations: 42.09 kB / 1.823 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 4.699e-06/2.839, allocations: 0 / 1.823 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001267/2.84, allocations: 0.4897 MB / 1.824 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/2.84, allocations: 55.41 kB / 1.824 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/2.841, allocations: 0.547 MB / 1.824 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/2.841, allocations: 25.7 kB / 1.825 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/2.841, allocations: 311.7 kB / 1.825 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/2.841, allocations: 122.2 kB / 1.825 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/2.841, allocations: 3.344 kB / 1.825 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/2.841, allocations: 325.9 kB / 1.825 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/2.841, allocations: 181 kB / 1.825 GB, free: 110 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/2.842, allocations: 384.4 kB / 1.826 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/2.842, allocations: 236.8 kB / 1.826 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.842, allocations: 0 / 1.826 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001102/2.843, allocations: 0.5974 MB / 1.827 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002894/2.844, allocations: 1.658 MB / 1.828 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/2.844, allocations: 4 kB / 1.828 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/2.844, allocations: 8 kB / 1.828 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/2.845, allocations: 197.6 kB / 1.828 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/2.845, allocations: 11.94 kB / 1.828 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.846, allocations: 164.7 kB / 1.829 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/2.846, allocations: 35.69 kB / 1.829 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/2.846, allocations: 5.875 kB / 1.829 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000943/2.847, allocations: 489 kB / 1.829 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/2.847, allocations: 4 kB / 1.829 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/2.847, allocations: 4 kB / 1.829 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/2.848, allocations: 204.1 kB / 1.829 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/2.848, allocations: 7.984 kB / 1.829 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/2.849, allocations: 164.1 kB / 1.829 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/2.849, allocations: 27.98 kB / 1.829 GB, free: 105.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.849, allocations: 124.2 kB / 1.83 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/2.849, allocations: 75.06 kB / 1.83 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/2.851, allocations: 0.7149 MB / 1.83 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/2.851, allocations: 7.984 kB / 1.83 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/2.851, allocations: 7.5 kB / 1.83 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/2.851, allocations: 4 kB / 1.83 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/2.853, allocations: 1.473 MB / 1.832 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/2.853, allocations: 12.08 kB / 1.832 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/2.854, allocations: 159.7 kB / 1.832 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/2.854, allocations: 0 / 1.832 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/2.854, allocations: 15.98 kB / 1.832 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/2.854, allocations: 3.984 kB / 1.832 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/2.854, allocations: 4 kB / 1.832 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/2.855, allocations: 1.043 MB / 1.833 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00186/2.857, allocations: 1.772 MB / 1.835 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/2.858, allocations: 224 kB / 1.835 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/2.858, allocations: 3.984 kB / 1.835 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/2.859, allocations: 131.8 kB / 1.835 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/2.859, allocations: 31.89 kB / 1.835 GB, free: 99.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/2.859, allocations: 15.98 kB / 1.835 GB, free: 99.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000472/2.859, allocations: 423.2 kB / 1.836 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002893/2.862, allocations: 0.5654 MB / 1.836 GB, free: 98.74 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008646/2.863, allocations: 0.5257 MB / 1.837 GB, free: 98.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001132/2.864, allocations: 0.7805 MB / 1.837 GB, free: 97.47 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.864, allocations: 0 / 1.837 GB, free: 97.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/2.865, allocations: 271.8 kB / 1.838 GB, free: 97.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/2.866, allocations: 295.4 kB / 1.838 GB, free: 96.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/2.872, allocations: 1.727 MB / 1.84 GB, free: 95.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/2.873, allocations: 1.089 MB / 1.841 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/2.873, allocations: 0 / 1.841 GB, free: 94.05 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)