Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger",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.527/2.527, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001696/0.001696, allocations: 181.3 kB / 360.3 MB, free: 7.598 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.957/1.957, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001311, allocations: 97.75 kB / 0.7317 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2897/0.291, allocations: 121.4 MB / 0.8502 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/1.012, allocations: 115.2 MB / 0.9627 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.848, allocations: 2.071 GB / 3.034 GB, free: 48.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/5.849, allocations: 85.36 kB / 3.034 GB, free: 48.14 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.6598/6.508, allocations: 52.55 MB / 3.085 GB, free: 328.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/6.509, allocations: 9.719 kB / 3.085 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/6.514, allocations: 275.8 kB / 3.085 GB, free: 328.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/6.515, allocations: 295.8 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/6.515, allocations: 7.406 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/6.515, allocations: 18.81 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/6.516, allocations: 378.9 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/6.517, allocations: 324.9 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/6.517, allocations: 2.562 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/6.517, allocations: 0 / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/6.517, allocations: 7.469 kB / 3.086 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/6.523, allocations: 1.073 MB / 3.087 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/6.524, allocations: 310.7 kB / 3.088 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/6.524, allocations: 157.9 kB / 3.088 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/6.525, allocations: 3.562 kB / 3.088 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/6.525, allocations: 34.31 kB / 3.088 GB, free: 328.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.846e-06/6.525, allocations: 0 / 3.088 GB, free: 328.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.01153/6.536, allocations: 0.6726 MB / 3.089 GB, free: 328.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/6.536, allocations: 56.12 kB / 3.089 GB, free: 328 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/6.536, allocations: 185.4 kB / 3.089 GB, free: 327.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/6.537, allocations: 28.95 kB / 3.089 GB, free: 327.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/6.537, allocations: 160.6 kB / 3.089 GB, free: 327.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/6.537, allocations: 82.08 kB / 3.089 GB, free: 327.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/6.537, allocations: 0 / 3.089 GB, free: 327.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/6.537, allocations: 333.2 kB / 3.089 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/6.537, allocations: 125.6 kB / 3.09 GB, free: 327.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/6.538, allocations: 177.4 kB / 3.09 GB, free: 327.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/6.539, allocations: 161.8 kB / 3.09 GB, free: 327.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/6.539, allocations: 2.781 kB / 3.09 GB, free: 327.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01097/6.55, allocations: 0.7111 MB / 3.091 GB, free: 327.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/6.55, allocations: 3.625 kB / 3.091 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/6.55, allocations: 9.969 kB / 3.091 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/6.551, allocations: 170.3 kB / 3.091 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/6.552, allocations: 77.25 kB / 3.091 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/6.566, allocations: 3.206 MB / 3.094 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/6.568, allocations: 62.16 kB / 3.094 GB, free: 324.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/6.568, allocations: 21.72 kB / 3.094 GB, free: 324.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/6.568, allocations: 114.7 kB / 3.094 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/6.568, allocations: 22.88 kB / 3.094 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/6.58, allocations: 0.7618 MB / 3.095 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/6.58, allocations: 4.578 kB / 3.095 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/6.58, allocations: 3.969 kB / 3.095 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/6.58, allocations: 0 / 3.095 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/6.591, allocations: 1.124 MB / 3.096 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/6.591, allocations: 4.594 kB / 3.096 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/6.592, allocations: 60.61 kB / 3.096 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/6.593, allocations: 176.4 kB / 3.096 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/6.593, allocations: 15.31 kB / 3.096 GB, free: 324.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/6.608, allocations: 3.206 MB / 3.099 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/6.608, allocations: 0 / 3.099 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01081/6.619, allocations: 0.7954 MB / 3.1 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01099/6.63, allocations: 1.187 MB / 3.101 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/6.63, allocations: 105.4 kB / 3.101 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/6.63, allocations: 3.906 kB / 3.101 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/6.632, allocations: 42.84 kB / 3.101 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/6.632, allocations: 19.52 kB / 3.101 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/6.632, allocations: 23.2 kB / 3.101 GB, free: 321.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001929/6.632, allocations: 150.1 kB / 3.102 GB, free: 321 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002077/6.634, allocations: 201.6 kB / 3.102 GB, free: 321 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/6.635, allocations: 0.711 MB / 3.102 GB, free: 320.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001966/6.637, allocations: 0.5541 MB / 3.103 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/6.637, allocations: 0 / 3.103 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/6.639, allocations: 405.9 kB / 3.103 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/6.639, allocations: 52.8 kB / 3.103 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/6.644, allocations: 0.5518 MB / 3.104 GB, free: 320.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/6.644, allocations: 0.823 MB / 3.105 GB, free: 319.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/6.644, allocations: 0 / 3.105 GB, free: 319.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)