Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8",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.448/2.448, 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.001748/0.001748, allocations: 185.2 kB / 360.3 MB, free: 7.559 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.814/1.814, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001375/0.001375, allocations: 82.78 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2985/0.2999, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.9671, allocations: 115.2 MB / 0.9627 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/1.196, allocations: 136.1 MB / 1.096 GB, free: 4.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.197, allocations: 67.39 kB / 1.096 GB, free: 4.656 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001074/1.198, allocations: 405.6 kB / 1.096 GB, free: 4.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.198, allocations: 12.94 kB / 1.096 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/1.198, allocations: 2.812 kB / 1.096 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.198, allocations: 163.5 kB / 1.096 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.198, allocations: 4 kB / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/1.198, allocations: 0 / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.804e-05/1.198, allocations: 2.906 kB / 1.096 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/1.198, allocations: 48.52 kB / 1.096 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.198, allocations: 0 / 1.096 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.198, allocations: 0 / 1.096 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.198, allocations: 0 / 1.096 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/1.198, allocations: 136.3 kB / 1.096 GB, free: 3.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/1.198, allocations: 36.59 kB / 1.097 GB, free: 3.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/1.198, allocations: 17.56 kB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.199, allocations: 7.984 kB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.199, allocations: 34.62 kB / 1.097 GB, free: 3.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.199, allocations: 5.812 kB / 1.097 GB, free: 3.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001577/1.199, allocations: 33.69 kB / 1.097 GB, free: 3.613 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.199, allocations: 81.05 kB / 1.097 GB, free: 3.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.268e-05/1.199, allocations: 85 kB / 1.097 GB, free: 3.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.199, allocations: 29.7 kB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/1.199, allocations: 80.14 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/1.199, allocations: 11.84 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/1.199, allocations: 0 / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.199, allocations: 311.8 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/1.199, allocations: 8.672 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/1.199, allocations: 12.81 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/1.199, allocations: 4 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.199, allocations: 1.781 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.76e-05/1.199, allocations: 37.64 kB / 1.097 GB, free: 2.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.199, allocations: 4 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.199, allocations: 1.703 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.199, allocations: 3.906 kB / 1.097 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.2, allocations: 7.984 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.2, allocations: 7.375 kB / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/1.2, allocations: 0 / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.2, allocations: 4 kB / 1.097 GB, free: 2.891 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.157e-05/1.2, allocations: 105 kB / 1.097 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/1.2, allocations: 0.5938 kB / 1.097 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/1.2, allocations: 50.38 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/1.2, allocations: 0.5156 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.2, allocations: 4.594 kB / 1.097 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.2, allocations: 1.719 kB / 1.097 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/1.2, allocations: 126.2 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.2, allocations: 0 / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/1.2, allocations: 8 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.2, allocations: 0.6562 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.2, allocations: 7.203 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.2, allocations: 0.5938 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.2, allocations: 3.906 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/1.2, allocations: 84.77 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002417/1.201, allocations: 460.5 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/1.201, allocations: 82.64 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/1.201, allocations: 3.75 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/1.201, allocations: 0 / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/1.201, allocations: 4.438 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/1.201, allocations: 4 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.365e-05/1.201, allocations: 79.59 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00116/1.202, allocations: 1.375 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001547/1.202, allocations: 95.25 kB / 1.098 GB, free: 1.676 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/1.202, allocations: 15.92 kB / 1.098 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.202, allocations: 0 / 1.098 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/1.202, allocations: 4 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/1.202, allocations: 4 kB / 1.098 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/1.203, allocations: 53.12 kB / 1.098 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/1.203, allocations: 0.688 MB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of SimCode: time 3.788e-06/1.203, allocations: 0 / 1.099 GB, free: 0.8594 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)