Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.386/1.386, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009459/0.0009459, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008104/0.0008104, allocations: 92.77 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.188/0.1888, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.6386, allocations: 116.3 MB / 0.9727 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.7836, allocations: 138.9 MB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.7839, allocations: 93.86 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002299/0.7862, allocations: 0.8456 MB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.7863, allocations: 8 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.7863, allocations: 5.906 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.7864, allocations: 172.3 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.7864, allocations: 0 / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.7864, allocations: 3.906 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.887e-05/0.7865, allocations: 16.83 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.179e-05/0.7866, allocations: 38.33 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.7866, allocations: 0 / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.7866, allocations: 0.7812 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.7866, allocations: 0 / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.7869, allocations: 235.7 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.787, allocations: 23.45 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.787, allocations: 13.58 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.787, allocations: 0.7188 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.7871, allocations: 36 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7871, allocations: 2.766 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.7872, allocations: 46.44 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.7872, allocations: 51.41 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.7873, allocations: 95.53 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.7873, allocations: 26.39 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.7873, allocations: 88.86 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.7874, allocations: 3.984 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7874, allocations: 0.5 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.7875, allocations: 321.5 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.7875, allocations: 4 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.7875, allocations: 8 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.545e-05/0.7875, allocations: 1.531 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.7875, allocations: 0 / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.877e-05/0.7876, allocations: 46.62 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.7876, allocations: 7.938 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7876, allocations: 0 / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.7876, allocations: 0.7188 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.7877, allocations: 8.594 kB / 1.11 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7877, allocations: 0.875 kB / 1.11 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.7878, allocations: 11.83 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.7878, allocations: 4.594 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.981e-05/0.7878, allocations: 102.4 kB / 1.111 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.7879, allocations: 3.984 kB / 1.111 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.7879, allocations: 13.25 kB / 1.111 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7879, allocations: 0 / 1.111 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7879, allocations: 0 / 1.111 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7879, allocations: 1.062 kB / 1.111 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.788, allocations: 134.2 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.788, allocations: 6.234 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.7881, allocations: 4.844 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7881, allocations: 5.188 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.7881, allocations: 0 / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7881, allocations: 4.125 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7881, allocations: 3.906 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.598e-05/0.7882, allocations: 143.5 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001643/0.7884, allocations: 0.5024 MB / 1.111 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.7885, allocations: 90.02 kB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.7885, allocations: 0 / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.7885, allocations: 4 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.7886, allocations: 3.984 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7886, allocations: 0 / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.09e-05/0.7886, allocations: 85.09 kB / 1.111 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007346/0.7894, allocations: 4 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.046e-05/0.7895, allocations: 99.25 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.494e-05/0.7895, allocations: 15.94 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7895, allocations: 0 / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.7896, allocations: 12.73 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.7897, allocations: 8.422 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.7899, allocations: 55.92 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.7901, allocations: 0.6888 MB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.7901, allocations: 128 / 1.112 GB, free: 7.203 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)