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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [: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.345/1.345, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.0009426/0.0009426, allocations: 169.3 kB / 366.3 MB, free: 2.016 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.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 7.48 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.0007715/0.0007715, allocations: 80.67 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.356e-06, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4946, allocations: 116.3 MB / 0.9725 GB, free: 76.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.6466, allocations: 140.3 MB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.6469, allocations: 78.52 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.9701/1.617, allocations: 300.9 MB / 1.403 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.62e-05/1.617, allocations: 8 kB / 1.403 GB, free: 112.9 MB / 0.8542 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.00124/1.618, allocations: 0.4899 MB / 1.404 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.618, allocations: 8.031 kB / 1.404 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/1.618, allocations: 35.53 kB / 1.404 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/1.619, allocations: 384.6 kB / 1.404 GB, free: 112 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.619, allocations: 4 kB / 1.404 GB, free: 112 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.619, allocations: 8.469 kB / 1.404 GB, free: 112 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.019e-05/1.619, allocations: 68.55 kB / 1.404 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.619, allocations: 98.89 kB / 1.404 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.619, allocations: 0 / 1.404 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.619, allocations: 0 / 1.404 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.619, allocations: 0 / 1.404 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/1.62, allocations: 315.8 kB / 1.405 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/1.62, allocations: 105.3 kB / 1.405 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/1.62, allocations: 64.78 kB / 1.405 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/1.62, allocations: 0 / 1.405 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/1.62, allocations: 45.03 kB / 1.405 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/1.62, allocations: 0 / 1.405 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002554/1.62, allocations: 146.8 kB / 1.405 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.62, allocations: 137.6 kB / 1.405 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/1.62, allocations: 423.9 kB / 1.406 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/1.62, allocations: 25.7 kB / 1.406 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/1.62, allocations: 110.5 kB / 1.406 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/1.62, allocations: 19.42 kB / 1.406 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.621, allocations: 0 / 1.406 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/1.621, allocations: 339.1 kB / 1.406 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/1.621, allocations: 34.84 kB / 1.406 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/1.621, allocations: 97.44 kB / 1.406 GB, free: 110 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/1.621, allocations: 46.59 kB / 1.406 GB, free: 110 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.621, allocations: 0.6562 kB / 1.406 GB, free: 110 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/1.621, allocations: 151.2 kB / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.621, allocations: 4 kB / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.621, allocations: 0 / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.621, allocations: 7.938 kB / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/1.621, allocations: 7.984 kB / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.621, allocations: 6.375 kB / 1.406 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/1.621, allocations: 16.95 kB / 1.407 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.621, allocations: 0 / 1.407 GB, free: 109.8 MB / 0.8542 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 4.793e-05/1.621, allocations: 113 kB / 1.407 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/1.621, allocations: 31.62 kB / 1.407 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/1.622, allocations: 187.3 kB / 1.407 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.622, allocations: 0 / 1.407 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.622, allocations: 0 / 1.407 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.622, allocations: 8.125 kB / 1.407 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/1.622, allocations: 274.4 kB / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.622, allocations: 0 / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/1.622, allocations: 19.92 kB / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.622, allocations: 0 / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.622, allocations: 4.562 kB / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.622, allocations: 0 / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.622, allocations: 0 / 1.407 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001758/1.622, allocations: 228.4 kB / 1.407 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.622, allocations: 127.6 kB / 1.407 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/1.622, allocations: 0 / 1.407 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.622, allocations: 13.83 kB / 1.407 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/1.622, allocations: 11.94 kB / 1.407 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/1.622, allocations: 4 kB / 1.407 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002653/1.623, allocations: 347.6 kB / 1.408 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002365/1.623, allocations: 43.94 kB / 1.408 GB, free: 108.5 MB / 0.8542 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.0001439/1.623, allocations: 126.5 kB / 1.408 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001372/1.623, allocations: 81.75 kB / 1.408 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.623, allocations: 0 / 1.408 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/1.623, allocations: 50.66 kB / 1.408 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/1.624, allocations: 58.16 kB / 1.408 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/1.624, allocations: 429.7 kB / 1.409 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.625, allocations: 0.8531 MB / 1.409 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.625, allocations: 4 kB / 1.409 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.00514/1.63, allocations: 2.798 MB / 1.412 GB, free: 104.3 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (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 & ./Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)