Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1",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.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 289.8 MB / 297 MB, free: 6.656 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.001086/0.001086, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.472/1.472, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0009671/0.0009676, allocations: 84.06 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2973/0.2983, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/1.03, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/2.04, allocations: 421.6 MB / 1.384 GB, free: 62.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/2.041, allocations: 95.83 kB / 1.384 GB, free: 62.13 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 5.284/7.325, allocations: 1.311 GB / 2.695 GB, free: 263.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.325, allocations: 11.47 kB / 2.695 GB, free: 263.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/7.329, allocations: 0.5539 MB / 2.696 GB, free: 262.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/7.342, allocations: 4.351 MB / 2.7 GB, free: 262.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/7.343, allocations: 49.38 kB / 2.7 GB, free: 262.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/7.343, allocations: 119.5 kB / 2.7 GB, free: 262.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002919/7.346, allocations: 1.631 MB / 2.702 GB, free: 262.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/7.349, allocations: 1.835 MB / 2.704 GB, free: 262 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/7.349, allocations: 7.188 kB / 2.704 GB, free: 262 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/7.349, allocations: 3.812 kB / 2.704 GB, free: 262 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/7.349, allocations: 37.97 kB / 2.704 GB, free: 262 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/7.364, allocations: 11.53 MB / 2.715 GB, free: 255.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/7.366, allocations: 1.214 MB / 2.716 GB, free: 255.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/7.367, allocations: 0.9078 MB / 2.717 GB, free: 255.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006591/7.374, allocations: 3.363 MB / 2.72 GB, free: 254 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/7.375, allocations: 0.6506 MB / 2.721 GB, free: 254 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=98): time 4.027e-06/7.375, allocations: 3.344 kB / 2.721 GB, free: 254 MB / 0.9948 GB Notification: Performance of matching and sorting (n=98): time 0.004798/7.38, allocations: 2.021 MB / 2.723 GB, free: 253.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/7.38, allocations: 66.19 kB / 2.723 GB, free: 253.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/7.384, allocations: 2.233 MB / 2.725 GB, free: 253.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/7.384, allocations: 28.42 kB / 2.725 GB, free: 253.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008689/7.385, allocations: 0.8407 MB / 2.726 GB, free: 253.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/7.385, allocations: 332.2 kB / 2.727 GB, free: 252.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/7.385, allocations: 0 / 2.727 GB, free: 252.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/7.385, allocations: 365.5 kB / 2.727 GB, free: 252.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/7.386, allocations: 0.5545 MB / 2.727 GB, free: 252.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/7.387, allocations: 1.298 MB / 2.729 GB, free: 251.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/7.389, allocations: 0.859 MB / 2.73 GB, free: 251.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/7.389, allocations: 3.438 kB / 2.73 GB, free: 251.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005083/7.394, allocations: 2.466 MB / 2.732 GB, free: 251.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001334/7.396, allocations: 5.9 MB / 2.738 GB, free: 245.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/7.396, allocations: 14.22 kB / 2.738 GB, free: 245.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009839/7.397, allocations: 446.1 kB / 2.738 GB, free: 245.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/7.398, allocations: 288.5 kB / 2.738 GB, free: 245.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/7.4, allocations: 2.078 MB / 2.74 GB, free: 244 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/7.403, allocations: 207.7 kB / 2.741 GB, free: 244 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/7.403, allocations: 87.25 kB / 2.741 GB, free: 244 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/7.403, allocations: 3.125 kB / 2.741 GB, free: 244 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004005/7.407, allocations: 2.068 MB / 2.743 GB, free: 243.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/7.407, allocations: 13.38 kB / 2.743 GB, free: 243.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/7.408, allocations: 412.2 kB / 2.743 GB, free: 243.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/7.409, allocations: 282.6 kB / 2.743 GB, free: 243.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/7.415, allocations: 5.399 MB / 2.749 GB, free: 241.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/7.418, allocations: 184.8 kB / 2.749 GB, free: 241.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/7.418, allocations: 79.42 kB / 2.749 GB, free: 241.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005066/7.419, allocations: 154.3 kB / 2.749 GB, free: 241 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/7.419, allocations: 281 kB / 2.749 GB, free: 240.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/7.424, allocations: 2.327 MB / 2.752 GB, free: 240.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/7.424, allocations: 19.88 kB / 2.752 GB, free: 240.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/7.424, allocations: 3.656 kB / 2.752 GB, free: 240.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002909/7.427, allocations: 1.907 MB / 2.753 GB, free: 240.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008241/7.435, allocations: 3.928 MB / 2.757 GB, free: 239.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/7.435, allocations: 0 / 2.757 GB, free: 239.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/7.436, allocations: 173 kB / 2.757 GB, free: 239.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008653/7.437, allocations: 391.7 kB / 2.758 GB, free: 239.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/7.437, allocations: 19.22 kB / 2.758 GB, free: 239.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/7.439, allocations: 1.915 MB / 2.76 GB, free: 238.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/7.439, allocations: 7.594 kB / 2.76 GB, free: 238.8 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005186/7.444, allocations: 2.9 MB / 2.763 GB, free: 238.3 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006546/7.451, allocations: 4.149 MB / 2.767 GB, free: 237.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/7.453, allocations: 0.4919 MB / 2.767 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/7.454, allocations: 0 / 2.767 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/7.455, allocations: 123.7 kB / 2.767 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/7.455, allocations: 77.56 kB / 2.767 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/7.456, allocations: 49.59 kB / 2.767 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002495/7.458, allocations: 1.71 MB / 2.769 GB, free: 237.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006557/7.465, allocations: 1.645 MB / 2.771 GB, free: 237 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/7.467, allocations: 1.048 MB / 2.772 GB, free: 236.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004678/7.471, allocations: 2.714 MB / 2.774 GB, free: 236.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/7.472, allocations: 3.625 kB / 2.774 GB, free: 236.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/7.472, allocations: 0.6825 MB / 2.775 GB, free: 236.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/7.478, allocations: 1.022 MB / 2.776 GB, free: 236.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009198/7.487, allocations: 4.058 MB / 2.78 GB, free: 235.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/7.49, allocations: 2.336 MB / 2.782 GB, free: 234.8 MB / 0.9948 GB Notification: Performance of SimCode: time 9.71e-07/7.49, allocations: 1.875 kB / 2.782 GB, free: 234.8 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)