Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",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.672/1.672, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001033/0.001033, allocations: 177.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.547/1.547, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009037/0.0009037, allocations: 93.22 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2697/0.2707, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.9397, allocations: 116.3 MB / 0.9727 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/1.124, allocations: 137.4 MB / 1.107 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.124, allocations: 83.81 kB / 1.107 GB, free: 10.93 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.001598/1.126, allocations: 0.5379 MB / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.126, allocations: 8 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/1.126, allocations: 25.33 kB / 1.108 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.126, allocations: 159.1 kB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.126, allocations: 3.906 kB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/1.126, allocations: 0.5938 kB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.239e-05/1.126, allocations: 4 kB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.939e-05/1.126, allocations: 34.25 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/1.126, allocations: 1.312 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/1.126, allocations: 0 / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.126, allocations: 0 / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/1.126, allocations: 126.8 kB / 1.108 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/1.127, allocations: 15.61 kB / 1.108 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/1.127, allocations: 15.78 kB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/1.127, allocations: 0 / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.127, allocations: 38.47 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/1.127, allocations: 1.812 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/1.127, allocations: 34.2 kB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.127, allocations: 52.03 kB / 1.108 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/1.127, allocations: 85 kB / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.127, allocations: 29.73 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/1.127, allocations: 80.14 kB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.127, allocations: 0 / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.127, allocations: 4 kB / 1.108 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.127, allocations: 314.8 kB / 1.108 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/1.127, allocations: 0 / 1.108 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/1.127, allocations: 0 / 1.108 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/1.127, allocations: 4 kB / 1.108 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.127, allocations: 7.969 kB / 1.108 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.774e-05/1.127, allocations: 34.45 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.127, allocations: 4 kB / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.127, allocations: 0 / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/1.127, allocations: 0 / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/1.127, allocations: 7.984 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.127, allocations: 3.047 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/1.127, allocations: 11.88 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/1.127, allocations: 0.5625 kB / 1.109 GB, free: 9.145 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 7.211e-05/1.127, allocations: 106.2 kB / 1.109 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/1.127, allocations: 3.906 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/1.127, allocations: 6.984 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.127, allocations: 7.984 kB / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/1.127, allocations: 0 / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.128, allocations: 0 / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.209e-05/1.128, allocations: 122.9 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/1.128, allocations: 0 / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/1.128, allocations: 7.984 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.128, allocations: 4 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.128, allocations: 7.906 kB / 1.109 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/1.128, allocations: 0 / 1.109 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.128, allocations: 0 / 1.109 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.1e-05/1.128, allocations: 58.36 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001843/1.128, allocations: 449.4 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/1.128, allocations: 77.11 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.128, allocations: 3.984 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/1.128, allocations: 0 / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/1.128, allocations: 0 / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.128, allocations: 4 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-05/1.128, allocations: 75.28 kB / 1.109 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007378/1.129, allocations: 3.906 kB / 1.109 GB, free: 8.125 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.0001208/1.129, allocations: 99.28 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.101e-05/1.129, allocations: 7.984 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.129, allocations: 0 / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/1.129, allocations: 4 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.164e-05/1.129, allocations: 4.281 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/1.129, allocations: 48 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/1.13, allocations: 0.6842 MB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.13, allocations: 0 / 1.11 GB, free: 7.223 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)