Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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 loadModel(Buildings): time 3.96/3.96, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5759/4.536, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/4.786, allocations: 98.72 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/5.022, allocations: 124 MB / 0.7494 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.022, allocations: 79.58 kB / 0.7495 GB, free: 13.47 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.003493/5.025, allocations: 0.9324 MB / 0.7504 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/5.026, allocations: 15.94 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/5.026, allocations: 7.906 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/5.026, allocations: 182.9 kB / 0.7506 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/5.026, allocations: 7.938 kB / 0.7506 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/5.026, allocations: 4 kB / 0.7506 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/5.026, allocations: 31.98 kB / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/5.026, allocations: 100 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/5.026, allocations: 0 / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/5.026, allocations: 4 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/5.026, allocations: 0 / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/5.027, allocations: 0.6133 MB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/5.027, allocations: 165.1 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/5.027, allocations: 84.14 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/5.027, allocations: 87.22 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/5.027, allocations: 105.8 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/5.027, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.469e-05/5.027, allocations: 29.69 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/5.027, allocations: 51.41 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/5.028, allocations: 116.9 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/5.028, allocations: 29.7 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/5.028, allocations: 103.9 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/5.028, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/5.028, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001246/5.028, allocations: 322.8 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/5.028, allocations: 0 / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/5.028, allocations: 23.28 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/5.028, allocations: 15.94 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/5.028, allocations: 3.938 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001519/5.028, allocations: 41.7 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/5.028, allocations: 8 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/5.028, allocations: 7.922 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/5.028, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/5.028, allocations: 4 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/5.028, allocations: 7.906 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/5.028, allocations: 4.094 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/5.028, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 9.576e-05/5.028, allocations: 184.2 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/5.029, allocations: 104.9 kB / 0.7528 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/5.029, allocations: 120.2 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-05/5.029, allocations: 177.7 kB / 0.7531 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.182e-05/5.029, allocations: 184.3 kB / 0.7532 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.859e-05/5.029, allocations: 180.2 kB / 0.7534 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/5.029, allocations: 397.8 kB / 0.7538 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/5.029, allocations: 105 kB / 0.7539 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/5.029, allocations: 108.8 kB / 0.754 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/5.029, allocations: 180.2 kB / 0.7542 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/5.029, allocations: 188.3 kB / 0.7543 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.511e-05/5.03, allocations: 180.2 kB / 0.7545 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.859e-05/5.03, allocations: 176.3 kB / 0.7547 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001483/5.03, allocations: 311.7 kB / 0.755 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002623/5.03, allocations: 0.6681 MB / 0.7556 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/5.03, allocations: 190 kB / 0.7558 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/5.03, allocations: 180.3 kB / 0.756 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/5.03, allocations: 101.3 kB / 0.7561 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/5.03, allocations: 188.1 kB / 0.7563 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/5.031, allocations: 105 kB / 0.7564 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.853e-05/5.031, allocations: 99.27 kB / 0.7565 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001171/5.032, allocations: 11.94 kB / 0.7565 GB, free: 5.859 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.0001793/5.032, allocations: 170.5 kB / 0.7566 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/5.032, allocations: 12 kB / 0.7566 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/5.032, allocations: 4 kB / 0.7566 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/5.032, allocations: 0 / 0.7566 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/5.032, allocations: 0.5249 MB / 0.7572 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/5.033, allocations: 159 kB / 0.7573 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/5.033, allocations: 0.7115 MB / 0.758 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/5.033, allocations: 0 / 0.758 GB, free: 4.219 MB / 0.6355 GB