Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",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.63/1.63, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001134/0.001134, allocations: 193.2 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.801/1.801, allocations: 205.1 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.001011/0.001011, allocations: 83.69 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3355/0.3366, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/1.107, allocations: 116.3 MB / 0.9726 GB, free: 68.56 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/1.297, allocations: 137.4 MB / 1.107 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.297, allocations: 71.89 kB / 1.107 GB, free: 11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008207/1.298, allocations: 360.2 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.298, allocations: 8 kB / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/1.298, allocations: 4.75 kB / 1.107 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.298, allocations: 159.1 kB / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.298, allocations: 8.391 kB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/1.299, allocations: 4.5 kB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.582e-05/1.299, allocations: 0 / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/1.299, allocations: 31.27 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.299, allocations: 0 / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/1.299, allocations: 0 / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.299, allocations: 1.625 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/1.299, allocations: 126.8 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/1.299, allocations: 15.17 kB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/1.299, allocations: 10.55 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/1.299, allocations: 0 / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/1.299, allocations: 39 kB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/1.299, allocations: 0 / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/1.299, allocations: 34.34 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.299, allocations: 56.09 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.033e-05/1.299, allocations: 87.5 kB / 1.108 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.299, allocations: 29.7 kB / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/1.299, allocations: 80.8 kB / 1.108 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/1.299, allocations: 4.031 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/1.299, allocations: 0 / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.3, allocations: 310.8 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/1.3, allocations: 0 / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/1.3, allocations: 0 / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.525e-05/1.3, allocations: 4 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.3, allocations: 3.906 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.764e-05/1.3, allocations: 37.64 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.3, allocations: 7.984 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.3, allocations: 4.094 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.3, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/1.3, allocations: 4 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.3, allocations: 1.484 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/1.3, allocations: 6.328 kB / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.3, allocations: 0 / 1.108 GB, free: 9.414 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 (1): * Single equations (assignments): 1 * 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 6.248e-05/1.3, allocations: 101.7 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/1.3, allocations: 11.91 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/1.3, allocations: 3 kB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/1.3, allocations: 4 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.3, allocations: 0 / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.3, allocations: 0 / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.8e-05/1.3, allocations: 126.2 kB / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.3, allocations: 0 / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/1.3, allocations: 4.75 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/1.3, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/1.3, allocations: 3.906 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/1.3, allocations: 0 / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.3, allocations: 0 / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.269e-05/1.3, allocations: 61.08 kB / 1.109 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001917/1.3, allocations: 437.4 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/1.3, allocations: 77.11 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/1.3, allocations: 0.5625 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/1.3, allocations: 8.047 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/1.3, allocations: 7.984 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/1.3, allocations: 0 / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.93e-05/1.301, allocations: 75.28 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007507/1.301, allocations: 3.906 kB / 1.109 GB, free: 8.406 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 (1): * Single equations (assignments): 1 * 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.0001029/1.301, allocations: 95.81 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/1.301, allocations: 7.938 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.301, allocations: 0 / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/1.301, allocations: 8.062 kB / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/1.302, allocations: 1.031 kB / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/1.302, allocations: 42.67 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.302, allocations: 0.6841 MB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.302, allocations: 0 / 1.11 GB, free: 7.512 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)