Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 177.3 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 85.95 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3634/0.3642, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.5369, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5341/1.071, allocations: 131.8 MB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.071, allocations: 77.5 kB / 1.013 GB, free: 6.637 MB / 0.6355 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.01106/1.082, allocations: 3.975 MB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.082, allocations: 8 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/1.083, allocations: 7.906 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/1.083, allocations: 167.1 kB / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/1.083, allocations: 0 / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/1.083, allocations: 0 / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.949e-05/1.083, allocations: 3.938 kB / 1.018 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.062e-05/1.083, allocations: 29.7 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/1.083, allocations: 0.8438 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/1.083, allocations: 0 / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.083, allocations: 0 / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/1.083, allocations: 133.7 kB / 1.018 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.188e-05/1.083, allocations: 18.52 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/1.083, allocations: 8.953 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/1.083, allocations: 421 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.083, allocations: 34.56 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.083, allocations: 4 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000158/1.084, allocations: 41.56 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/1.084, allocations: 51.41 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.98e-05/1.084, allocations: 85 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/1.084, allocations: 25.7 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/1.084, allocations: 80.14 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/1.084, allocations: 3.906 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/1.084, allocations: 4.031 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.084, allocations: 314.8 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/1.084, allocations: 4 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/1.084, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/1.084, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.084, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.665e-05/1.084, allocations: 41.67 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.084, allocations: 7.938 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.084, allocations: 0 / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.084, allocations: 4.094 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/1.084, allocations: 4 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.084, allocations: 0 / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/1.084, allocations: 3.906 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.084, allocations: 0 / 1.019 GB, free: 1.562 MB / 0.6355 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.852e-05/1.084, allocations: 101 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/1.084, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/1.084, allocations: 48.64 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.084, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.084, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/1.084, allocations: 3.906 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/1.085, allocations: 126.2 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.085, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/1.085, allocations: 8 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/1.085, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/1.085, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.085, allocations: 11.86 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.085, allocations: 1.016 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.345e-05/1.085, allocations: 61.08 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001742/1.085, allocations: 439.8 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/1.085, allocations: 77.11 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/1.085, allocations: 7.969 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-06/1.085, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-06/1.085, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/1.085, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.577e-05/1.085, allocations: 75.28 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007927/1.086, allocations: 23.88 kB / 1.02 GB, free: 0.5039 MB / 0.6355 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.0001819/1.086, allocations: 119.2 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.421e-05/1.086, allocations: 0 / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.086, allocations: 4.062 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/1.086, allocations: 4 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.386e-05/1.086, allocations: 0 / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/1.086, allocations: 51.73 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.087, allocations: 0.6802 MB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.087, allocations: 0 / 1.021 GB, free: 15.59 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)