Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_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.46/2.46, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.002372/0.002371, allocations: 189.2 kB / 360.3 MB, free: 7.551 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.922/1.922, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001249/0.001249, allocations: 91.36 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3072/0.3085, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6281/0.9366, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/1.202, allocations: 136.9 MB / 1.096 GB, free: 3.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/1.203, allocations: 74.34 kB / 1.097 GB, free: 3.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.02863/1.231, allocations: 3.987 MB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.231, allocations: 16.44 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/1.232, allocations: 0.6562 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/1.232, allocations: 159.8 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.232, allocations: 3.906 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.232, allocations: 0.6875 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.838e-05/1.232, allocations: 4 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/1.232, allocations: 30.23 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.232, allocations: 0.5938 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.232, allocations: 0.6562 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.232, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/1.232, allocations: 128.2 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/1.232, allocations: 19.42 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/1.232, allocations: 9.359 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/1.233, allocations: 426.1 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.233, allocations: 36.72 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.355e-06/1.233, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002479/1.234, allocations: 33.64 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.234, allocations: 51.41 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/1.234, allocations: 93.03 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.234, allocations: 25.7 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/1.234, allocations: 80.14 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/1.234, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.234, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.234, allocations: 310.8 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/1.234, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/1.234, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/1.234, allocations: 7.984 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.234, allocations: 7.969 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001646/1.234, allocations: 29.7 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.235, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.235, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.235, allocations: 3.984 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/1.235, allocations: 4 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.235, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/1.235, allocations: 3.938 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.235, allocations: 0 / 1.102 GB, free: 14.23 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 0.0001082/1.235, allocations: 116.7 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/1.235, allocations: 7.891 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/1.235, allocations: 43.09 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.235, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.235, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.235, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/1.235, allocations: 130.2 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.235, allocations: 0 / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/1.235, allocations: 4.031 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.235, allocations: 3.906 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/1.235, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.235, allocations: 5.172 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.235, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/1.236, allocations: 57.08 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000379/1.236, allocations: 445.5 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/1.236, allocations: 77.11 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/1.236, allocations: 1.688 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/1.236, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/1.236, allocations: 7.984 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/1.236, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.145e-05/1.236, allocations: 75.28 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001939/1.238, allocations: 19.84 kB / 1.103 GB, free: 13.16 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.0003158/1.239, allocations: 111.3 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/1.239, allocations: 3.938 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.239, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/1.239, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/1.239, allocations: 5.438 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/1.239, allocations: 40.08 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/1.24, allocations: 0.692 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.24, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)