Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001854/0.001854, allocations: 169.3 kB / 366.3 MB, free: 1.957 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.422/1.422, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009731/0.000973, allocations: 88.94 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2562/0.2572, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.8777, allocations: 116.3 MB / 0.9727 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/1.048, allocations: 138.1 MB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.048, allocations: 75.95 kB / 1.108 GB, free: 10.28 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.01193/1.06, allocations: 3.988 MB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.06, allocations: 11.94 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/1.06, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/1.06, allocations: 159.1 kB / 1.112 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.06, allocations: 7.906 kB / 1.112 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/1.06, allocations: 0 / 1.112 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.786e-05/1.06, allocations: 4.688 kB / 1.112 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.923e-05/1.06, allocations: 29.64 kB / 1.112 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.06, allocations: 3.984 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/1.06, allocations: 0 / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.06, allocations: 0 / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/1.061, allocations: 130.2 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/1.061, allocations: 22.58 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/1.061, allocations: 4.859 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/1.061, allocations: 421.6 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.061, allocations: 38.97 kB / 1.112 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 4.448e-06/1.061, allocations: 4.844 kB / 1.112 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/1.061, allocations: 33.64 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/1.061, allocations: 51.41 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.455e-05/1.061, allocations: 85 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.061, allocations: 25.7 kB / 1.112 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/1.061, allocations: 80.14 kB / 1.113 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/1.061, allocations: 4 kB / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-06/1.061, allocations: 0 / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.062, allocations: 314.8 kB / 1.113 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/1.062, allocations: 4.781 kB / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/1.062, allocations: 0 / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/1.062, allocations: 4 kB / 1.113 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.062, allocations: 3.906 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.359e-05/1.062, allocations: 29.7 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.062, allocations: 4 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.062, allocations: 2.5 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/1.062, allocations: 4 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/1.062, allocations: 5.406 kB / 1.113 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.062, allocations: 4 kB / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/1.062, allocations: 0 / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/1.062, allocations: 3.938 kB / 1.113 GB, free: 4.57 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.497e-05/1.062, allocations: 112.9 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/1.062, allocations: 3.906 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/1.062, allocations: 32.7 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.062, allocations: 4.531 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.062, allocations: 0.8438 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.062, allocations: 4 kB / 1.113 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.873e-05/1.062, allocations: 126.2 kB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.062, allocations: 4 kB / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/1.062, allocations: 0 / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.062, allocations: 3.906 kB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/1.062, allocations: 4 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.062, allocations: 0 / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.062, allocations: 0 / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.001e-05/1.062, allocations: 67.03 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001851/1.063, allocations: 437.5 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/1.063, allocations: 77.11 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/1.063, allocations: 3.984 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/1.063, allocations: 4.062 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/1.063, allocations: 4 kB / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/1.063, allocations: 0 / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.149e-05/1.063, allocations: 75.28 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007366/1.063, allocations: 19.84 kB / 1.114 GB, free: 3.5 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.0002155/1.064, allocations: 111.2 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/1.064, allocations: 11.92 kB / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.064, allocations: 0 / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/1.064, allocations: 8.062 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.856e-05/1.064, allocations: 0 / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/1.064, allocations: 44.08 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/1.064, allocations: 0.6802 MB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.064, allocations: 4 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)