Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_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 8.0.0/package.mo): time 2.395/2.395, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001535/0.001534, allocations: 185.2 kB / 360.3 MB, free: 7.535 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.815/1.815, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001265/0.001264, allocations: 79.27 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2963/0.2976, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.928, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/1.142, allocations: 136.3 MB / 1.096 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.143, allocations: 73.27 kB / 1.096 GB, free: 4.469 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003932/1.147, allocations: 0.9336 MB / 1.097 GB, free: 3.516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.147, allocations: 8.5 kB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/1.147, allocations: 0 / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.147, allocations: 170.7 kB / 1.097 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/1.147, allocations: 4 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/1.147, allocations: 5.562 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.1e-05/1.147, allocations: 8 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/1.147, allocations: 35.89 kB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/1.147, allocations: 0 / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.147, allocations: 0 / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.147, allocations: 0 / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/1.147, allocations: 135.2 kB / 1.097 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.148, allocations: 26.72 kB / 1.097 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/1.148, allocations: 17.41 kB / 1.097 GB, free: 3.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/1.148, allocations: 408 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.148, allocations: 30.56 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.936e-06/1.148, allocations: 2.391 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002651/1.149, allocations: 45.66 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.149, allocations: 51.41 kB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.666e-05/1.149, allocations: 85 kB / 1.098 GB, free: 2.301 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/1.149, allocations: 29.7 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/1.149, allocations: 80.14 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.149, allocations: 7.891 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/1.149, allocations: 0 / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.149, allocations: 318.7 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/1.149, allocations: 9.75 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/1.149, allocations: 0 / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/1.149, allocations: 7.375 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.149, allocations: 0 / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001321/1.149, allocations: 45.62 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.149, allocations: 4.625 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.149, allocations: 2.25 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.149, allocations: 0 / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/1.149, allocations: 12.55 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004826/1.15, allocations: 0.5896 MB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/1.15, allocations: 4 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/1.15, allocations: 2.656 kB / 1.099 GB, free: 1.164 MB / 0.698 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/1.15, allocations: 109.5 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/1.15, allocations: 3.906 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/1.15, allocations: 52.11 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.15, allocations: 10.05 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.15, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.15, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/1.15, allocations: 126.8 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.15, allocations: 0 / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/1.151, allocations: 20.64 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.151, allocations: 0 / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.151, allocations: 0.7188 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004249/1.151, allocations: 0.5876 MB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.151, allocations: 2.25 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001417/1.151, allocations: 66.7 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003487/1.152, allocations: 447.7 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/1.152, allocations: 81.09 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.152, allocations: 5 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/1.152, allocations: 0 / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/1.152, allocations: 4.531 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/1.152, allocations: 0.6875 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.118e-05/1.152, allocations: 75.28 kB / 1.1 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002242/1.154, allocations: 16.59 kB / 1.1 GB, free: 15.46 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003478/1.155, allocations: 108.1 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004697/1.155, allocations: 20.47 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.155, allocations: 192 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/1.155, allocations: 23.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/1.156, allocations: 8.562 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/1.156, allocations: 48.81 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.157, allocations: 0.6876 MB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/1.157, allocations: 0 / 1.101 GB, free: 14.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)