Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.897/1.897, allocations: 387.2 MB / 394.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 177.8 kB / 487 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.3 MB / 0.7819 GB, free: 6.734 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 102.3 kB / 0.9213 GB, free: 43.65 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2839/0.285, allocations: 148.5 MB / 1.066 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.9559, allocations: 142.3 MB / 1.205 GB, free: 72.82 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.238/4.194, allocations: 1.728 GB / 2.933 GB, free: 358.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/4.195, allocations: 80.92 kB / 2.933 GB, free: 358.7 MB / 1.151 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.09889/4.293, allocations: 51.06 MB / 2.983 GB, free: 307.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/4.293, allocations: 8 kB / 2.983 GB, free: 307.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/4.296, allocations: 271.2 kB / 2.984 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/4.297, allocations: 295.6 kB / 2.984 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/4.297, allocations: 19.91 kB / 2.984 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/4.297, allocations: 16 kB / 2.984 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006362/4.297, allocations: 377.1 kB / 2.984 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/4.298, allocations: 316.6 kB / 2.985 GB, free: 305.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/4.298, allocations: 3.938 kB / 2.985 GB, free: 305.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/4.298, allocations: 0 / 2.985 GB, free: 305.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/4.298, allocations: 7.938 kB / 2.985 GB, free: 305.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/4.301, allocations: 1.089 MB / 2.986 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/4.302, allocations: 306.6 kB / 2.986 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/4.302, allocations: 152.8 kB / 2.986 GB, free: 304.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/4.302, allocations: 8 kB / 2.986 GB, free: 304.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/4.302, allocations: 34.56 kB / 2.986 GB, free: 304.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/4.302, allocations: 0 / 2.986 GB, free: 304.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.005512/4.307, allocations: 0.675 MB / 2.987 GB, free: 303.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/4.307, allocations: 55.41 kB / 2.987 GB, free: 303.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/4.308, allocations: 183.8 kB / 2.987 GB, free: 303.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/4.308, allocations: 25.7 kB / 2.987 GB, free: 303.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/4.308, allocations: 160 kB / 2.987 GB, free: 303 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/4.308, allocations: 82.75 kB / 2.987 GB, free: 302.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/4.308, allocations: 4 kB / 2.987 GB, free: 302.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.553e-05/4.308, allocations: 334.8 kB / 2.988 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/4.308, allocations: 124.5 kB / 2.988 GB, free: 302.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/4.308, allocations: 182.7 kB / 2.988 GB, free: 302.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/4.309, allocations: 164.3 kB / 2.988 GB, free: 302.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/4.309, allocations: 4 kB / 2.988 GB, free: 302.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005467/4.314, allocations: 0.7094 MB / 2.989 GB, free: 301.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/4.314, allocations: 4 kB / 2.989 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/4.314, allocations: 3.984 kB / 2.989 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/4.315, allocations: 173.5 kB / 2.989 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/4.315, allocations: 67.88 kB / 2.989 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/4.323, allocations: 3.21 MB / 2.992 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009052/4.324, allocations: 63.77 kB / 2.992 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/4.324, allocations: 19.97 kB / 2.992 GB, free: 297.6 MB / 1.151 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.0001301/4.324, allocations: 105 kB / 2.992 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/4.324, allocations: 23.66 kB / 2.992 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005765/4.33, allocations: 0.7616 MB / 2.993 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/4.33, allocations: 7.984 kB / 2.993 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/4.33, allocations: 0 / 2.993 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/4.33, allocations: 0 / 2.993 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/4.336, allocations: 1.12 MB / 2.994 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/4.336, allocations: 7.984 kB / 2.994 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/4.336, allocations: 59.95 kB / 2.994 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/4.337, allocations: 173.5 kB / 2.994 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/4.337, allocations: 11.97 kB / 2.994 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/4.344, allocations: 3.204 MB / 2.997 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/4.344, allocations: 0 / 2.997 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005366/4.349, allocations: 0.7947 MB / 2.998 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005387/4.355, allocations: 1.191 MB / 2.999 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/4.355, allocations: 104.7 kB / 3 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/4.355, allocations: 3.938 kB / 3 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/4.356, allocations: 55.95 kB / 3 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/4.356, allocations: 11.97 kB / 3 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/4.356, allocations: 19.97 kB / 3 GB, free: 289.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001543/4.356, allocations: 152.5 kB / 3 GB, free: 289.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001439/4.358, allocations: 207.7 kB / 3 GB, free: 289.2 MB / 1.151 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.0008536/4.358, allocations: 0.7062 MB / 3.001 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001061/4.36, allocations: 0.5539 MB / 3.001 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/4.36, allocations: 0 / 3.001 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006828/4.36, allocations: 399.7 kB / 3.002 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/4.361, allocations: 58.25 kB / 3.002 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/4.363, allocations: 0.5482 MB / 3.002 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/4.363, allocations: 0.8188 MB / 3.003 GB, free: 286 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/4.364, allocations: 4 kB / 3.003 GB, free: 286 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat