Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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 10.0.0-master/package.mo): time 1.817/1.817, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009101/0.0009101, allocations: 173.3 kB / 490.8 MB, free: 1.926 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.135/1.135, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008621, allocations: 101.9 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4406/0.4415, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.6336, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5234/1.157, allocations: 151.4 MB / 1.359 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/1.157, allocations: 73.19 kB / 1.36 GB, free: 17.05 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.6741/1.831, allocations: 301.7 MB / 1.654 GB, free: 3.781 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.831, allocations: 12 kB / 1.654 GB, free: 3.77 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/1.832, allocations: 35.53 kB / 1.654 GB, free: 3.734 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/1.832, allocations: 384 kB / 1.655 GB, free: 3.363 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/1.832, allocations: 0 / 1.655 GB, free: 3.363 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.832, allocations: 4 kB / 1.655 GB, free: 3.359 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/1.832, allocations: 66.06 kB / 1.655 GB, free: 3.309 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.832, allocations: 111.7 kB / 1.655 GB, free: 3.191 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/1.832, allocations: 0 / 1.655 GB, free: 3.191 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.832, allocations: 4 kB / 1.655 GB, free: 3.188 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/1.832, allocations: 0 / 1.655 GB, free: 3.188 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/1.833, allocations: 309.2 kB / 1.655 GB, free: 2.883 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/1.833, allocations: 109.2 kB / 1.655 GB, free: 2.75 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/1.833, allocations: 61.95 kB / 1.655 GB, free: 2.684 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/1.833, allocations: 0 / 1.655 GB, free: 2.684 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.833, allocations: 46.25 kB / 1.655 GB, free: 2.633 MB / 1.073 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/1.833, allocations: 0 / 1.655 GB, free: 2.633 MB / 1.073 GB Notification: Performance of matching and sorting (n=4): time 0.0002544/1.833, allocations: 146.7 kB / 1.655 GB, free: 2.496 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.833, allocations: 135.8 kB / 1.656 GB, free: 2.336 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/1.834, allocations: 425.2 kB / 1.656 GB, free: 2 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.834, allocations: 25.7 kB / 1.656 GB, free: 1.969 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/1.834, allocations: 110.9 kB / 1.656 GB, free: 1.867 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/1.834, allocations: 15.75 kB / 1.656 GB, free: 1.852 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/1.834, allocations: 4 kB / 1.656 GB, free: 1.848 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/1.834, allocations: 349 kB / 1.656 GB, free: 1.512 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/1.834, allocations: 34.16 kB / 1.656 GB, free: 1.484 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/1.834, allocations: 93.45 kB / 1.657 GB, free: 1.379 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/1.834, allocations: 49.83 kB / 1.657 GB, free: 1.34 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.834, allocations: 0 / 1.657 GB, free: 1.34 MB / 1.073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001936/1.834, allocations: 147.5 kB / 1.657 GB, free: 1.203 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.834, allocations: 4 kB / 1.657 GB, free: 1.199 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.834, allocations: 0 / 1.657 GB, free: 1.199 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.834, allocations: 4.125 kB / 1.657 GB, free: 1.195 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.834, allocations: 11.98 kB / 1.657 GB, free: 1.184 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.834, allocations: 4 kB / 1.657 GB, free: 1.18 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/1.835, allocations: 7.938 kB / 1.657 GB, free: 1.172 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.835, allocations: 7.922 kB / 1.657 GB, free: 1.168 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.132e-05/1.835, allocations: 112.8 kB / 1.657 GB, free: 1.051 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/1.835, allocations: 31.56 kB / 1.657 GB, free: 1.02 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/1.835, allocations: 185.1 kB / 1.657 GB, free: 0.8594 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.835, allocations: 4 kB / 1.657 GB, free: 0.8555 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.835, allocations: 0 / 1.657 GB, free: 0.8555 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.835, allocations: 4 kB / 1.657 GB, free: 0.8516 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/1.835, allocations: 275.2 kB / 1.657 GB, free: 0.5859 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.835, allocations: 0 / 1.657 GB, free: 0.5859 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.835, allocations: 19.92 kB / 1.657 GB, free: 0.5664 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.835, allocations: 0 / 1.657 GB, free: 0.5664 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.835, allocations: 11.5 kB / 1.657 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.835, allocations: 0 / 1.657 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.835, allocations: 0 / 1.657 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002118/1.836, allocations: 231.3 kB / 1.658 GB, free: 316 kB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003479/1.836, allocations: 0.5924 MB / 1.658 GB, free: 15.69 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.836, allocations: 138 kB / 1.658 GB, free: 15.55 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/1.836, allocations: 4 kB / 1.658 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.836, allocations: 0 / 1.658 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/1.836, allocations: 7.984 kB / 1.658 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/1.836, allocations: 4 kB / 1.658 GB, free: 15.53 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.0003154/1.837, allocations: 346.1 kB / 1.659 GB, free: 15.27 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0007967/1.838, allocations: 47.94 kB / 1.659 GB, free: 15.22 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001502/1.838, allocations: 128.9 kB / 1.659 GB, free: 15.09 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0001537/1.838, allocations: 85.94 kB / 1.659 GB, free: 15.03 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.838, allocations: 0 / 1.659 GB, free: 15.03 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/1.838, allocations: 47.03 kB / 1.659 GB, free: 14.99 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.838, allocations: 71.89 kB / 1.659 GB, free: 14.93 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/1.839, allocations: 437.3 kB / 1.659 GB, free: 14.51 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/1.839, allocations: 0.8442 MB / 1.66 GB, free: 13.65 MB / 1.089 GB Notification: Performance of SimCode: time 1.382e-06/1.839, allocations: 0 / 1.66 GB, free: 13.65 MB / 1.089 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat