Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",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.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.001049/0.001049, allocations: 177.3 kB / 316 MB, free: 3.547 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.159/1.159, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008086/0.0008084, allocations: 94.14 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3104/0.3113, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.4684, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.358/3.827, allocations: 2.224 GB / 3.109 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/3.827, allocations: 87.95 kB / 3.109 GB, free: 189.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 3.704/7.531, allocations: 1.406 GB / 4.515 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/7.531, allocations: 19.28 kB / 4.515 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/7.534, allocations: 0.5287 MB / 4.516 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/7.536, allocations: 1.229 MB / 4.517 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008227/7.537, allocations: 271.7 kB / 4.517 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/7.537, allocations: 60 kB / 4.517 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/7.538, allocations: 0.7225 MB / 4.518 GB, free: 109.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/7.539, allocations: 1.074 MB / 4.519 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/7.54, allocations: 11.88 kB / 4.519 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/7.54, allocations: 4 kB / 4.519 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/7.54, allocations: 38 kB / 4.519 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006212/7.546, allocations: 6.555 MB / 4.525 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/7.547, allocations: 459.8 kB / 4.526 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/7.547, allocations: 189.3 kB / 4.526 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/7.547, allocations: 375.9 kB / 4.526 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/7.547, allocations: 38.84 kB / 4.526 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/7.547, allocations: 0 / 4.526 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001296/7.549, allocations: 0.5213 MB / 4.527 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/7.549, allocations: 59.09 kB / 4.527 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/7.55, allocations: 0.8228 MB / 4.528 GB, free: 99.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/7.55, allocations: 29.7 kB / 4.528 GB, free: 99.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/7.55, allocations: 0.5211 MB / 4.528 GB, free: 98.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/7.55, allocations: 110.4 kB / 4.528 GB, free: 98.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/7.55, allocations: 0 / 4.528 GB, free: 98.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/7.55, allocations: 330 kB / 4.529 GB, free: 98.26 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/7.55, allocations: 197.2 kB / 4.529 GB, free: 98.07 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/7.551, allocations: 0.5683 MB / 4.53 GB, free: 97.33 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/7.551, allocations: 304.8 kB / 4.53 GB, free: 97.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/7.551, allocations: 4 kB / 4.53 GB, free: 97.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00113/7.552, allocations: 0.7581 MB / 4.531 GB, free: 96.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000927/7.553, allocations: 4.098 MB / 4.535 GB, free: 91.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/7.553, allocations: 12 kB / 4.535 GB, free: 91.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/7.553, allocations: 16 kB / 4.535 GB, free: 91.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/7.554, allocations: 214.2 kB / 4.535 GB, free: 91.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/7.554, allocations: 17 kB / 4.535 GB, free: 91.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/7.555, allocations: 195.3 kB / 4.535 GB, free: 91.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/7.556, allocations: 43.98 kB / 4.535 GB, free: 91.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/7.556, allocations: 6.188 kB / 4.535 GB, free: 91.44 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008993/7.556, allocations: 0.6205 MB / 4.536 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/7.556, allocations: 10.84 kB / 4.536 GB, free: 90.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/7.557, allocations: 16 kB / 4.536 GB, free: 90.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/7.557, allocations: 218.6 kB / 4.536 GB, free: 90.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/7.557, allocations: 23.92 kB / 4.536 GB, free: 90.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009372/7.558, allocations: 150 kB / 4.536 GB, free: 90.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/7.558, allocations: 39.98 kB / 4.536 GB, free: 90.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001259/7.558, allocations: 139.5 kB / 4.536 GB, free: 90.26 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/7.559, allocations: 110.6 kB / 4.536 GB, free: 90.15 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/7.559, allocations: 0.4948 MB / 4.537 GB, free: 89.65 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/7.559, allocations: 7.844 kB / 4.537 GB, free: 89.65 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/7.559, allocations: 0 / 4.537 GB, free: 89.65 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/7.559, allocations: 3.938 kB / 4.537 GB, free: 89.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/7.562, allocations: 1.693 MB / 4.538 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/7.562, allocations: 4 kB / 4.538 GB, free: 87.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/7.562, allocations: 107.8 kB / 4.539 GB, free: 87.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/7.562, allocations: 10.88 kB / 4.539 GB, free: 87.76 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/7.562, allocations: 4 kB / 4.539 GB, free: 87.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/7.562, allocations: 7.984 kB / 4.539 GB, free: 87.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/7.562, allocations: 15.88 kB / 4.539 GB, free: 87.73 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007086/7.563, allocations: 0.8463 MB / 4.539 GB, free: 86.77 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001271/7.564, allocations: 1.426 MB / 4.541 GB, free: 85.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/7.565, allocations: 259.5 kB / 4.541 GB, free: 84.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/7.565, allocations: 4 kB / 4.541 GB, free: 84.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/7.566, allocations: 115.1 kB / 4.541 GB, free: 84.85 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/7.566, allocations: 31.28 kB / 4.541 GB, free: 84.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/7.566, allocations: 23.97 kB / 4.541 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0006082/7.567, allocations: 0.6241 MB / 4.542 GB, free: 84.17 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00436/7.571, allocations: 1.623 MB / 4.543 GB, free: 82.54 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.003579/7.575, allocations: 3.502 MB / 4.547 GB, free: 79.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001169/7.576, allocations: 0.8297 MB / 4.548 GB, free: 78.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.576, allocations: 0 / 4.548 GB, free: 78.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/7.576, allocations: 185.4 kB / 4.548 GB, free: 78.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/7.578, allocations: 375.1 kB / 4.548 GB, free: 77.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/7.581, allocations: 1.68 MB / 4.55 GB, free: 76.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/7.582, allocations: 1.301 MB / 4.551 GB, free: 74.71 MB / 0.9011 GB Notification: Performance of SimCode: time 2.61e-07/7.582, allocations: 0 / 4.551 GB, free: 74.71 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)