Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.131/2.131, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001606/0.001605, allocations: 173.3 kB / 360.3 MB, free: 7.562 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.654/1.654, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001228/0.001227, allocations: 93.05 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2447/0.2459, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.8024, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/1.005, allocations: 137.7 MB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.005, allocations: 96.48 kB / 1.097 GB, free: 3.09 MB / 0.698 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.003407/1.009, allocations: 0.8545 MB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.009, allocations: 8.594 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/1.009, allocations: 9.641 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.009, allocations: 167.8 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/1.009, allocations: 0 / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/1.009, allocations: 7.109 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.763e-05/1.009, allocations: 12 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/1.009, allocations: 33.69 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.009, allocations: 0 / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.009, allocations: 0 / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.009, allocations: 1.094 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/1.01, allocations: 240.2 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/1.01, allocations: 23.14 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/1.01, allocations: 16.91 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/1.01, allocations: 3.469 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.01, allocations: 34.56 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.085e-06/1.01, allocations: 0.5312 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/1.01, allocations: 41.08 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.01, allocations: 52 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/1.01, allocations: 99.33 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.01, allocations: 29.64 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/1.01, allocations: 88.61 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/1.01, allocations: 0.5 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.01, allocations: 0 / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.01, allocations: 319.4 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/1.01, allocations: 4.562 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/1.01, allocations: 9.891 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/1.01, allocations: 4 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.01, allocations: 0 / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/1.011, allocations: 42.45 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.011, allocations: 5.25 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/1.011, allocations: 0.625 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.011, allocations: 0 / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.011, allocations: 16.11 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/1.011, allocations: 0.75 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/1.011, allocations: 7.906 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/1.011, allocations: 3.938 kB / 1.099 GB, free: 0.8398 MB / 0.698 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 7.88e-05/1.011, allocations: 104.8 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/1.011, allocations: 3.938 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/1.011, allocations: 15.52 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/1.011, allocations: 4.609 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.011, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.011, allocations: 3.75 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.011, allocations: 136.5 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.011, allocations: 0 / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/1.011, allocations: 8 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.011, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.011, allocations: 3.984 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.011, allocations: 0 / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.011, allocations: 3.906 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/1.012, allocations: 136.5 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003355/1.012, allocations: 0.5141 MB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/1.012, allocations: 81.02 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.012, allocations: 3.984 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.012, allocations: 8.062 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/1.012, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/1.012, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.99e-05/1.012, allocations: 85.16 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001079/1.013, allocations: 4 kB / 1.1 GB, free: 15.65 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 0.0001338/1.013, allocations: 99.23 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/1.014, allocations: 16 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.014, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/1.014, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/1.014, allocations: 7.906 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/1.014, allocations: 60.67 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/1.014, allocations: 0.688 MB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.014, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)