Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.374/2.374, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001606, allocations: 183.5 kB / 360.3 MB, free: 7.516 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.873/1.873, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001282/0.001282, allocations: 96.66 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2849/0.2862, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.9303, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/1.152, allocations: 137.6 MB / 1.097 GB, free: 3.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.153, allocations: 68.53 kB / 1.097 GB, free: 3.156 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.02271/1.175, allocations: 4.343 MB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.175, allocations: 8.5 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/1.176, allocations: 11.91 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.176, allocations: 159.1 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/1.176, allocations: 1.812 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/1.176, allocations: 7.906 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/1.176, allocations: 11.98 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/1.176, allocations: 29.7 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.176, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.176, allocations: 8 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.176, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/1.177, allocations: 253.4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/1.177, allocations: 26.58 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/1.177, allocations: 12.92 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009568/1.178, allocations: 457.5 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.178, allocations: 34.56 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/1.178, allocations: 4 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002562/1.178, allocations: 37.7 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.178, allocations: 55.39 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/1.178, allocations: 104.9 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/1.178, allocations: 25.7 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/1.178, allocations: 84.05 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/1.178, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.178, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002244/1.179, allocations: 326.8 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/1.179, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/1.179, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/1.179, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.179, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001478/1.179, allocations: 41.7 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.179, allocations: 4 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.179, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.179, allocations: 0.9375 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.179, allocations: 20.08 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.179, allocations: 1.719 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/1.179, allocations: 19.89 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.179, allocations: 3.938 kB / 1.103 GB, free: 12.88 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 7.979e-05/1.179, allocations: 114.3 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/1.18, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.18, allocations: 53.22 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.18, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.18, allocations: 1.688 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.18, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.18, allocations: 142.2 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.18, allocations: 0 / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.18, allocations: 12.03 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.18, allocations: 0 / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.18, allocations: 3.984 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.18, allocations: 3.906 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.18, allocations: 4 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000178/1.18, allocations: 131.5 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003021/1.181, allocations: 0.5155 MB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/1.181, allocations: 88.94 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/1.181, allocations: 1.312 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.181, allocations: 13.58 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/1.181, allocations: 8.031 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.181, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.107e-05/1.181, allocations: 83.27 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001131/1.182, allocations: 20 kB / 1.104 GB, free: 11.6 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.0002265/1.182, allocations: 107.2 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001142/1.183, allocations: 15.94 kB / 1.104 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.183, allocations: 0 / 1.104 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/1.183, allocations: 8 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.183, allocations: 20.81 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/1.183, allocations: 56.73 kB / 1.104 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/1.184, allocations: 0.688 MB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.184, allocations: 0 / 1.105 GB, free: 10.65 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)