Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.364/2.364, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001843/0.001843, allocations: 191.3 kB / 360.3 MB, free: 7.484 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.982/1.982, allocations: 205.1 MB / 0.6187 GB, free: 13.16 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.001242/0.001241, allocations: 91.39 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.298/0.2993, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.9302, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/1.175, allocations: 137 MB / 1.096 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.175, allocations: 71.95 kB / 1.097 GB, free: 3.812 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.003528/1.179, allocations: 0.8079 MB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.179, allocations: 12.5 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/1.179, allocations: 4.844 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.179, allocations: 164.7 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.179, allocations: 0.75 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/1.179, allocations: 4.594 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.984e-05/1.179, allocations: 15.98 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/1.179, allocations: 38.23 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/1.18, allocations: 0.8438 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.18, allocations: 0.5625 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.18, allocations: 0.625 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/1.18, allocations: 255.8 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/1.18, allocations: 22.58 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/1.18, allocations: 10.2 kB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/1.181, allocations: 415.3 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/1.181, allocations: 37.62 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/1.181, allocations: 4.438 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000234/1.181, allocations: 42.47 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.181, allocations: 51.41 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/1.181, allocations: 96.06 kB / 1.098 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.181, allocations: 25.7 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/1.181, allocations: 88.7 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/1.181, allocations: 7.938 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.181, allocations: 1.406 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.181, allocations: 318.7 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/1.181, allocations: 8 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/1.182, allocations: 0.5312 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/1.182, allocations: 12.09 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.182, allocations: 0 / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001432/1.182, allocations: 45.64 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.182, allocations: 4 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.182, allocations: 0 / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.182, allocations: 4 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/1.182, allocations: 15.92 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.182, allocations: 4.031 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/1.182, allocations: 19.64 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/1.182, allocations: 0 / 1.099 GB, free: 1.082 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 (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 0.0001066/1.182, allocations: 104.8 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/1.182, allocations: 4.562 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.182, allocations: 53.22 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.182, allocations: 0 / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.183, allocations: 0 / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.183, allocations: 4.938 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.183, allocations: 139.8 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.183, allocations: 0 / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.183, allocations: 15.92 kB / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.183, allocations: 0 / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.183, allocations: 0 / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.183, allocations: 11.94 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.183, allocations: 0 / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001754/1.183, allocations: 135.6 kB / 1.099 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002968/1.183, allocations: 0.5116 MB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/1.183, allocations: 81.02 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/1.184, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.184, allocations: 17.11 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/1.184, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.184, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.975e-05/1.184, allocations: 83.27 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001099/1.185, allocations: 8 kB / 1.1 GB, free: 15.82 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 (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.0001725/1.185, allocations: 95.25 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001049/1.185, allocations: 20 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.185, allocations: 2.594 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/1.185, allocations: 4 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.185, allocations: 9 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/1.186, allocations: 64.78 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.186, allocations: 0.6934 MB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.186, allocations: 3.938 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)