Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001052/0.001052, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.11/1.11, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008477/0.0008477, allocations: 83.41 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2087/0.2095, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.7025, allocations: 116.3 MB / 0.9726 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.8519, allocations: 140.3 MB / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.8522, allocations: 76.52 kB / 1.11 GB, free: 8.078 MB / 0.7136 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.9734/1.826, allocations: 301.4 MB / 1.404 GB, free: 79.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/1.826, allocations: 17.06 kB / 1.404 GB, free: 79.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/1.826, allocations: 35.53 kB / 1.404 GB, free: 79.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/1.826, allocations: 385.1 kB / 1.404 GB, free: 79.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.826, allocations: 4 kB / 1.404 GB, free: 79.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.826, allocations: 3.906 kB / 1.404 GB, free: 79.14 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.578e-05/1.826, allocations: 67.94 kB / 1.404 GB, free: 79.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/1.826, allocations: 101.1 kB / 1.405 GB, free: 78.95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/1.826, allocations: 3.938 kB / 1.405 GB, free: 78.95 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/1.826, allocations: 0 / 1.405 GB, free: 78.95 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/1.826, allocations: 4 kB / 1.405 GB, free: 78.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/1.827, allocations: 308.7 kB / 1.405 GB, free: 78.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/1.827, allocations: 106.4 kB / 1.405 GB, free: 78.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/1.827, allocations: 62.08 kB / 1.405 GB, free: 78.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/1.827, allocations: 8 kB / 1.405 GB, free: 78.38 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/1.827, allocations: 38.47 kB / 1.405 GB, free: 78.33 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.827, allocations: 0 / 1.405 GB, free: 78.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002078/1.827, allocations: 153.1 kB / 1.405 GB, free: 78.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/1.827, allocations: 128.5 kB / 1.405 GB, free: 78.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/1.827, allocations: 420.8 kB / 1.406 GB, free: 77.61 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.827, allocations: 25.7 kB / 1.406 GB, free: 77.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/1.828, allocations: 120.2 kB / 1.406 GB, free: 77.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/1.828, allocations: 15.75 kB / 1.406 GB, free: 77.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/1.828, allocations: 0 / 1.406 GB, free: 77.44 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/1.828, allocations: 342.8 kB / 1.406 GB, free: 77.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/1.828, allocations: 35.95 kB / 1.406 GB, free: 77.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/1.828, allocations: 94.81 kB / 1.406 GB, free: 76.94 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/1.828, allocations: 51.89 kB / 1.406 GB, free: 76.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.828, allocations: 0 / 1.406 GB, free: 76.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001592/1.828, allocations: 149.2 kB / 1.407 GB, free: 76.74 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/1.828, allocations: 4 kB / 1.407 GB, free: 76.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.828, allocations: 4.125 kB / 1.407 GB, free: 76.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.828, allocations: 4 kB / 1.407 GB, free: 76.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/1.828, allocations: 11.98 kB / 1.407 GB, free: 76.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.828, allocations: 3.938 kB / 1.407 GB, free: 76.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/1.828, allocations: 7.906 kB / 1.407 GB, free: 76.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/1.828, allocations: 4 kB / 1.407 GB, free: 76.7 MB / 0.823 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 5.069e-05/1.828, allocations: 105 kB / 1.407 GB, free: 76.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/1.828, allocations: 35.61 kB / 1.407 GB, free: 76.55 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/1.829, allocations: 187.7 kB / 1.407 GB, free: 76.36 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.829, allocations: 0 / 1.407 GB, free: 76.36 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.829, allocations: 5.031 kB / 1.407 GB, free: 76.36 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.829, allocations: 0 / 1.407 GB, free: 76.36 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.829, allocations: 278 kB / 1.407 GB, free: 76.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.829, allocations: 0 / 1.407 GB, free: 76.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/1.829, allocations: 12 kB / 1.407 GB, free: 76.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.829, allocations: 4.125 kB / 1.407 GB, free: 76.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.829, allocations: 7.984 kB / 1.407 GB, free: 76.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.829, allocations: 3.938 kB / 1.407 GB, free: 76.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.829, allocations: 4 kB / 1.407 GB, free: 76.02 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00018/1.829, allocations: 224.2 kB / 1.407 GB, free: 75.75 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002123/1.829, allocations: 0.6022 MB / 1.408 GB, free: 75.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/1.83, allocations: 137.4 kB / 1.408 GB, free: 74.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/1.83, allocations: 0 / 1.408 GB, free: 74.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.83, allocations: 4 kB / 1.408 GB, free: 74.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/1.83, allocations: 4 kB / 1.408 GB, free: 74.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/1.83, allocations: 7.984 kB / 1.408 GB, free: 74.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002583/1.83, allocations: 351.1 kB / 1.408 GB, free: 74.59 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007716/1.831, allocations: 43.91 kB / 1.409 GB, free: 74.55 MB / 0.823 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.0001396/1.831, allocations: 120.6 kB / 1.409 GB, free: 74.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.831, allocations: 87.88 kB / 1.409 GB, free: 74.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.831, allocations: 0 / 1.409 GB, free: 74.34 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/1.831, allocations: 47.91 kB / 1.409 GB, free: 74.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/1.832, allocations: 66.11 kB / 1.409 GB, free: 74.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/1.832, allocations: 434.2 kB / 1.409 GB, free: 73.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.832, allocations: 0.8528 MB / 1.41 GB, free: 72.89 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.832, allocations: 0 / 1.41 GB, free: 72.89 MB / 0.823 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)