Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",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.279/1.279, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001034/0.001034, allocations: 185.2 kB / 316 MB, free: 3.504 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.57 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.0008237/0.0008235, allocations: 83.33 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3496/0.3505, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.5221, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/1.02, allocations: 131.9 MB / 1.013 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/1.021, allocations: 72.39 kB / 1.014 GB, free: 6.543 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.002269/1.023, allocations: 0.804 MB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/1.023, allocations: 11.94 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/1.023, allocations: 4 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.023, allocations: 167 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/1.023, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/1.023, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.681e-05/1.023, allocations: 15.25 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/1.023, allocations: 37 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/1.023, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/1.023, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/1.023, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/1.024, allocations: 256.7 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/1.024, allocations: 30.02 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/1.024, allocations: 12.8 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.024, allocations: 413.6 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.024, allocations: 30.56 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.024, allocations: 0 / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/1.024, allocations: 41.48 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/1.024, allocations: 63.42 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/1.024, allocations: 96.81 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.025, allocations: 25.7 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/1.025, allocations: 80.14 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/1.025, allocations: 15.78 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/1.025, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/1.025, allocations: 317.9 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/1.025, allocations: 7.188 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/1.025, allocations: 8 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/1.025, allocations: 3.312 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.025, allocations: 0 / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.609e-05/1.025, allocations: 45.23 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.025, allocations: 6.656 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.025, allocations: 4 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.025, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/1.025, allocations: 16.08 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.025, allocations: 0.75 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/1.025, allocations: 11.98 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/1.025, allocations: 0 / 1.016 GB, free: 3.887 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 (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.804e-05/1.025, allocations: 101 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/1.025, allocations: 7.906 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/1.025, allocations: 64.19 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.025, allocations: 0 / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.025, allocations: 4 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.025, allocations: 3.938 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/1.026, allocations: 145.8 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.026, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/1.026, allocations: 8 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.026, allocations: 4.031 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.026, allocations: 4 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.026, allocations: 3.984 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.026, allocations: 0 / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001441/1.026, allocations: 139.6 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002493/1.026, allocations: 0.5106 MB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/1.026, allocations: 77.11 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/1.026, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/1.026, allocations: 15.3 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/1.026, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.026, allocations: 6.812 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.519e-05/1.026, allocations: 91.2 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007555/1.027, allocations: 11.38 kB / 1.017 GB, free: 2.629 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 (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.0001774/1.027, allocations: 99.25 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/1.027, allocations: 15.81 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.027, allocations: 0 / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/1.027, allocations: 8 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/1.027, allocations: 3.125 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/1.028, allocations: 70.22 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.028, allocations: 0.6919 MB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.028, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)