Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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 2.016/2.016, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 176.3 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.3 MB / 0.7819 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.36 kB / 0.9213 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5746/0.5758, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.8402, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.749, allocations: 374.1 MB / 1.571 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.749, allocations: 82.2 kB / 1.571 GB, free: 0.7266 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02834/1.778, allocations: 11.3 MB / 1.582 GB, free: 7.426 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.778, allocations: 15.98 kB / 1.582 GB, free: 7.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/1.778, allocations: 23.62 kB / 1.582 GB, free: 7.387 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/1.778, allocations: 274.8 kB / 1.582 GB, free: 7.09 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/1.778, allocations: 8 kB / 1.582 GB, free: 7.082 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/1.778, allocations: 7.906 kB / 1.582 GB, free: 7.074 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/1.779, allocations: 93.28 kB / 1.582 GB, free: 7.016 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/1.779, allocations: 108.7 kB / 1.582 GB, free: 6.926 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.779, allocations: 0 / 1.582 GB, free: 6.926 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.779, allocations: 4 kB / 1.582 GB, free: 6.922 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.779, allocations: 0 / 1.582 GB, free: 6.922 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/1.78, allocations: 474.9 kB / 1.583 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/1.78, allocations: 66.81 kB / 1.583 GB, free: 6.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/1.78, allocations: 61.16 kB / 1.583 GB, free: 6.391 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/1.781, allocations: 0.5181 MB / 1.583 GB, free: 5.766 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.781, allocations: 42.44 kB / 1.583 GB, free: 5.715 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/1.781, allocations: 0 / 1.583 GB, free: 5.715 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.003332/1.784, allocations: 458 kB / 1.584 GB, free: 5.312 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/1.784, allocations: 55.41 kB / 1.584 GB, free: 5.246 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/1.784, allocations: 195 kB / 1.584 GB, free: 5.078 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.784, allocations: 25.7 kB / 1.584 GB, free: 5.047 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/1.784, allocations: 106.4 kB / 1.584 GB, free: 4.945 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/1.784, allocations: 31.05 kB / 1.584 GB, free: 4.918 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/1.785, allocations: 0 / 1.584 GB, free: 4.918 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.785, allocations: 337.5 kB / 1.585 GB, free: 4.59 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/1.785, allocations: 44.73 kB / 1.585 GB, free: 4.562 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/1.785, allocations: 45.36 kB / 1.585 GB, free: 4.535 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/1.788, allocations: 361.2 kB / 1.585 GB, free: 4.219 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.788, allocations: 0 / 1.585 GB, free: 4.219 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003324/1.791, allocations: 469.8 kB / 1.585 GB, free: 3.805 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.791, allocations: 8 kB / 1.585 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.791, allocations: 3.984 kB / 1.585 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.791, allocations: 0 / 1.585 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/1.792, allocations: 63.44 kB / 1.586 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.792, allocations: 0 / 1.586 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/1.792, allocations: 43.91 kB / 1.586 GB, free: 3.691 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/1.792, allocations: 15.89 kB / 1.586 GB, free: 3.676 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001008/1.792, allocations: 105 kB / 1.586 GB, free: 3.566 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/1.792, allocations: 23.72 kB / 1.586 GB, free: 3.543 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.796, allocations: 488.5 kB / 1.586 GB, free: 3.125 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.796, allocations: 4 kB / 1.586 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.796, allocations: 0 / 1.586 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.796, allocations: 0 / 1.586 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/1.796, allocations: 243.2 kB / 1.586 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.796, allocations: 0 / 1.586 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/1.796, allocations: 67.44 kB / 1.586 GB, free: 2.816 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.796, allocations: 0 / 1.586 GB, free: 2.816 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.796, allocations: 3.984 kB / 1.586 GB, free: 2.812 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.796, allocations: 4 kB / 1.586 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.796, allocations: 0 / 1.586 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003205/1.799, allocations: 0.5564 MB / 1.587 GB, free: 2.289 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003422/1.803, allocations: 0.9191 MB / 1.588 GB, free: 1.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.803, allocations: 115.8 kB / 1.588 GB, free: 1.285 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/1.803, allocations: 3.938 kB / 1.588 GB, free: 1.281 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/1.803, allocations: 43.95 kB / 1.588 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/1.803, allocations: 11.36 kB / 1.588 GB, free: 1.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.803, allocations: 11.92 kB / 1.588 GB, free: 1.219 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0001353/1.804, allocations: 153.6 kB / 1.588 GB, free: 1.094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009039/1.805, allocations: 74.03 kB / 1.588 GB, free: 1.031 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003285/1.805, allocations: 192.2 kB / 1.588 GB, free: 0.832 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002582/1.805, allocations: 112.8 kB / 1.589 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.805, allocations: 0 / 1.589 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/1.805, allocations: 72.84 kB / 1.589 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.806, allocations: 24.53 kB / 1.589 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/1.806, allocations: 244.5 kB / 1.589 GB, free: 472 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/1.807, allocations: 0.762 MB / 1.59 GB, free: 15.68 MB / 1.026 GB Notification: Performance of SimCode: time 2.5e-07/1.807, allocations: 0 / 1.59 GB, free: 15.68 MB / 1.026 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat