Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.0009753/0.0009752, allocations: 184.5 kB / 316 MB, free: 3.543 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.235/1.235, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0009148/0.0009147, allocations: 96.67 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.369/0.37, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.541, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/1.06, allocations: 132.5 MB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.06, allocations: 70.34 kB / 1.014 GB, free: 5.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01261/1.073, allocations: 4.335 MB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.073, allocations: 12.75 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/1.073, allocations: 0 / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/1.073, allocations: 171 kB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.073, allocations: 0 / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/1.073, allocations: 0 / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.858e-05/1.073, allocations: 11.56 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/1.073, allocations: 41.19 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/1.073, allocations: 0 / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/1.073, allocations: 3.938 kB / 1.019 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.073, allocations: 4 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/1.074, allocations: 251.4 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/1.074, allocations: 26.14 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/1.074, allocations: 12.86 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/1.075, allocations: 465 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.075, allocations: 30.56 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/1.075, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001857/1.075, allocations: 52.8 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/1.075, allocations: 51.41 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/1.075, allocations: 100.6 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/1.075, allocations: 25.7 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/1.075, allocations: 84.14 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/1.075, allocations: 7.406 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.075, allocations: 0 / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.075, allocations: 310.8 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/1.075, allocations: 11.47 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/1.075, allocations: 4 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/1.075, allocations: 11.42 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.075, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.369e-05/1.075, allocations: 40.67 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.075, allocations: 11.94 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.075, allocations: 0 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.075, allocations: 0 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/1.075, allocations: 16.08 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.075, allocations: 0 / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/1.076, allocations: 12.23 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.076, allocations: 4 kB / 1.02 GB, free: 384 kB / 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 (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 6.695e-05/1.076, allocations: 101 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/1.076, allocations: 11.91 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/1.076, allocations: 59.19 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.076, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.076, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.076, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/1.076, allocations: 137.5 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.076, allocations: 0 / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/1.076, allocations: 15.98 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.076, allocations: 7.969 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.076, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.076, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.076, allocations: 3.938 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001261/1.076, allocations: 142.6 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001908/1.076, allocations: 0.5146 MB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/1.076, allocations: 81.05 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/1.076, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/1.077, allocations: 7.984 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/1.077, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/1.077, allocations: 3.938 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.305e-05/1.077, allocations: 90.78 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007615/1.077, allocations: 19.98 kB / 1.021 GB, free: 15.11 MB / 0.6511 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.0001733/1.078, allocations: 107.2 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/1.078, allocations: 15.5 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.078, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/1.078, allocations: 7.562 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/1.078, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/1.078, allocations: 71.41 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.078, allocations: 0.6919 MB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.078, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)