Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",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 9.1.1-maint.9.1.x/package.mo): time 2.048/2.048, allocations: 387.2 MB / 394.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 189.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.3 MB / 0.7819 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 83.7 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.616/0.6171, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.8961, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8282/1.724, allocations: 151.2 MB / 1.353 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.725, allocations: 88.8 kB / 1.353 GB, free: 15.56 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01031/1.735, allocations: 3.206 MB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.735, allocations: 9.5 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/1.737, allocations: 214.4 kB / 1.356 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/1.737, allocations: 315.5 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.737, allocations: 68.64 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/1.737, allocations: 7.125 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007605/1.738, allocations: 386.2 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/1.739, allocations: 288.6 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.739, allocations: 1.734 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/1.739, allocations: 4.625 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/1.739, allocations: 3.125 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/1.741, allocations: 0.8856 MB / 1.358 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/1.741, allocations: 210.7 kB / 1.359 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/1.742, allocations: 192 kB / 1.359 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.742, allocations: 8.688 kB / 1.359 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/1.742, allocations: 44.36 kB / 1.359 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/1.742, allocations: 1 kB / 1.359 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.001084/1.743, allocations: 390.3 kB / 1.359 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/1.743, allocations: 53.19 kB / 1.359 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/1.743, allocations: 256.8 kB / 1.359 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/1.743, allocations: 27.12 kB / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/1.743, allocations: 122.1 kB / 1.36 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/1.744, allocations: 23.59 kB / 1.36 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/1.744, allocations: 1.031 kB / 1.36 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.744, allocations: 335.8 kB / 1.36 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.744, allocations: 176.9 kB / 1.36 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/1.744, allocations: 174.2 kB / 1.36 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/1.745, allocations: 148.2 kB / 1.36 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.745, allocations: 0 / 1.36 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00093/1.746, allocations: 405.4 kB / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.746, allocations: 5.375 kB / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.746, allocations: 0 / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.746, allocations: 0.5938 kB / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/1.746, allocations: 64.75 kB / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.746, allocations: 5.188 kB / 1.361 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/1.747, allocations: 40.89 kB / 1.361 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.747, allocations: 26.31 kB / 1.361 GB, free: 13.49 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.496e-05/1.747, allocations: 102.3 kB / 1.361 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/1.747, allocations: 20.92 kB / 1.361 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/1.747, allocations: 24.08 kB / 1.361 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.747, allocations: 1.422 kB / 1.361 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.747, allocations: 4.938 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.747, allocations: 0 / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/1.747, allocations: 402 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.748, allocations: 0.5 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/1.748, allocations: 64.05 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.748, allocations: 5.031 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/1.748, allocations: 10.77 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.748, allocations: 0.5312 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.748, allocations: 1.375 kB / 1.362 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008825/1.749, allocations: 497.8 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008893/1.75, allocations: 0.8685 MB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/1.75, allocations: 98.38 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/1.75, allocations: 0.5625 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/1.75, allocations: 36.95 kB / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.75, allocations: 3.703 kB / 1.363 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.75, allocations: 26.73 kB / 1.363 GB, free: 12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002279/1.751, allocations: 205.4 kB / 1.363 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001015/1.752, allocations: 44.66 kB / 1.363 GB, free: 11.81 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000233/1.752, allocations: 104.3 kB / 1.363 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005846/1.752, allocations: 427.9 kB / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.752, allocations: 0 / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/1.753, allocations: 230.9 kB / 1.364 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.753, allocations: 9.312 kB / 1.364 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/1.754, allocations: 441.4 kB / 1.364 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/1.754, allocations: 0.7997 MB / 1.365 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/1.754, allocations: 4 kB / 1.365 GB, free: 10.22 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)