Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.687/1.687, allocations: 289.8 MB / 297.1 MB, free: 9.039 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.001412/0.001412, allocations: 184.9 kB / 366.3 MB, free: 11.33 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.597/1.597, allocations: 205.1 MB / 0.6256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 89.78 kB / 0.7396 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.6524/0.6533, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.9178, allocations: 116.3 MB / 0.9727 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7071/1.625, allocations: 138.8 MB / 1.108 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.625, allocations: 74.62 kB / 1.108 GB, free: 16.25 MB / 0.6823 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.01496/1.64, allocations: 4.339 MB / 1.112 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.64, allocations: 11.81 kB / 1.112 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/1.64, allocations: 6.188 kB / 1.112 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/1.641, allocations: 174.3 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.641, allocations: 1.062 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/1.641, allocations: 0.9688 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.7e-05/1.641, allocations: 13 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/1.641, allocations: 37.53 kB / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.641, allocations: 4 kB / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.641, allocations: 0 / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.641, allocations: 1.188 kB / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/1.641, allocations: 253.3 kB / 1.113 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/1.641, allocations: 29.42 kB / 1.113 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/1.641, allocations: 8.391 kB / 1.113 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/1.642, allocations: 464.8 kB / 1.113 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.642, allocations: 32.22 kB / 1.113 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/1.642, allocations: 4 kB / 1.113 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/1.642, allocations: 43.7 kB / 1.113 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/1.642, allocations: 52.47 kB / 1.114 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/1.642, allocations: 96.28 kB / 1.114 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-06/1.642, allocations: 25.7 kB / 1.114 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/1.642, allocations: 82.77 kB / 1.114 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.643, allocations: 8.781 kB / 1.114 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/1.643, allocations: 0 / 1.114 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/1.643, allocations: 321.4 kB / 1.114 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/1.643, allocations: 7.375 kB / 1.114 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/1.643, allocations: 3.344 kB / 1.114 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/1.643, allocations: 3.922 kB / 1.114 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.643, allocations: 0.9375 kB / 1.114 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/1.643, allocations: 44.95 kB / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.643, allocations: 5.219 kB / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.643, allocations: 0 / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.643, allocations: 96 / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.643, allocations: 16.91 kB / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.643, allocations: 3.938 kB / 1.114 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/1.643, allocations: 12.61 kB / 1.114 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/1.643, allocations: 2.641 kB / 1.114 GB, free: 13.94 MB / 0.6823 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.468e-05/1.643, allocations: 110 kB / 1.114 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.643, allocations: 2.125 kB / 1.114 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.643, allocations: 46.14 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.643, allocations: 5 kB / 1.114 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.643, allocations: 1.594 kB / 1.114 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.643, allocations: 1.156 kB / 1.114 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.643, allocations: 136.1 kB / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.643, allocations: 0 / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/1.644, allocations: 20.23 kB / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/1.644, allocations: 1.219 kB / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/1.644, allocations: 4.062 kB / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.644, allocations: 1.188 kB / 1.114 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.644, allocations: 4 kB / 1.114 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001202/1.644, allocations: 141.3 kB / 1.115 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001596/1.644, allocations: 0.5115 MB / 1.115 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/1.644, allocations: 86.39 kB / 1.115 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/1.644, allocations: 1.547 kB / 1.115 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/1.644, allocations: 16.47 kB / 1.115 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/1.644, allocations: 4.438 kB / 1.115 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/1.644, allocations: 1.062 kB / 1.115 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.582e-05/1.644, allocations: 82.47 kB / 1.115 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000785/1.645, allocations: 17.03 kB / 1.115 GB, free: 12.78 MB / 0.6823 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.0001699/1.645, allocations: 110.8 kB / 1.115 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/1.645, allocations: 12.19 kB / 1.115 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.645, allocations: 3.312 kB / 1.115 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/1.645, allocations: 10.62 kB / 1.115 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/1.645, allocations: 6.125 kB / 1.115 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/1.646, allocations: 62.23 kB / 1.115 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.646, allocations: 0.6951 MB / 1.116 GB, free: 27.91 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.646, allocations: 0 / 1.116 GB, free: 27.91 MB / 0.698 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)