Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",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.243/2.243, 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.001637/0.001637, allocations: 181.2 kB / 360.3 MB, free: 7.543 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.843/1.843, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001311/0.00131, allocations: 92.72 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2954/0.2968, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.9613, allocations: 115.2 MB / 0.9627 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/1.24, allocations: 136.2 MB / 1.096 GB, free: 4.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.24, allocations: 67.97 kB / 1.096 GB, free: 4.609 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001653/1.242, allocations: 494.9 kB / 1.096 GB, free: 4.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.242, allocations: 9.438 kB / 1.096 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/1.242, allocations: 3.906 kB / 1.096 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/1.242, allocations: 171.7 kB / 1.096 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/1.242, allocations: 1.188 kB / 1.096 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.242, allocations: 0 / 1.096 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.835e-05/1.242, allocations: 5.188 kB / 1.096 GB, free: 3.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.716e-05/1.242, allocations: 41.77 kB / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.242, allocations: 0 / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.242, allocations: 0 / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.242, allocations: 0 / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/1.243, allocations: 134.3 kB / 1.097 GB, free: 3.664 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/1.243, allocations: 22.52 kB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/1.243, allocations: 8.922 kB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.243, allocations: 2.969 kB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.243, allocations: 34.55 kB / 1.097 GB, free: 3.578 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/1.243, allocations: 2.078 kB / 1.097 GB, free: 3.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/1.243, allocations: 37.61 kB / 1.097 GB, free: 3.535 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.243, allocations: 56.02 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.243, allocations: 99.84 kB / 1.097 GB, free: 3.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.243, allocations: 30.55 kB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.243, allocations: 84.14 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/1.243, allocations: 0.8438 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-06/1.243, allocations: 0 / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.243, allocations: 322.3 kB / 1.097 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/1.243, allocations: 4 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/1.243, allocations: 17.66 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/1.243, allocations: 12.83 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.243, allocations: 0 / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/1.244, allocations: 45.12 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.244, allocations: 4 kB / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.244, allocations: 4 kB / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.244, allocations: 0 / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/1.244, allocations: 4 kB / 1.097 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.244, allocations: 7.875 kB / 1.097 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/1.244, allocations: 3.906 kB / 1.097 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/1.244, allocations: 3 kB / 1.097 GB, free: 2.816 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.772e-05/1.244, allocations: 114.5 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/1.244, allocations: 0 / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/1.244, allocations: 52.83 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.244, allocations: 0.9375 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.244, allocations: 4.781 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.244, allocations: 0 / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/1.244, allocations: 131 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.244, allocations: 0 / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/1.244, allocations: 4.5 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.244, allocations: 1.312 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.244, allocations: 2.062 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.244, allocations: 0 / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.244, allocations: 7.938 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/1.245, allocations: 83.3 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002937/1.245, allocations: 464 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/1.245, allocations: 77.11 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/1.245, allocations: 8.469 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/1.245, allocations: 0.5 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.245, allocations: 0 / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.245, allocations: 4.844 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.696e-05/1.245, allocations: 92.55 kB / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001053/1.246, allocations: 8 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001653/1.246, allocations: 96.19 kB / 1.098 GB, free: 1.586 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001051/1.247, allocations: 19.98 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.247, allocations: 0 / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/1.247, allocations: 8 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.247, allocations: 3.188 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/1.247, allocations: 83.52 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/1.248, allocations: 0.6924 MB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of SimCode: time 3.096e-06/1.248, allocations: 0 / 1.099 GB, free: 0.7383 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)