Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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 4.192/4.192, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2892/4.481, allocations: 104.3 MB / 0.5319 GB, free: 4.539 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/5.088, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.985/11.07, allocations: 2.469 GB / 3.097 GB, free: 223.4 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/11.07, allocations: 90.12 kB / 3.097 GB, free: 223.4 MB / 0.8152 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1518 * Number of variables: 1518 Notification: Performance of Generate backend data structure: time 7.012/18.09, allocations: 1.437 GB / 4.534 GB, free: 64.83 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/18.09, allocations: 8 kB / 4.534 GB, free: 64.82 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03772/18.12, allocations: 2.831 MB / 4.536 GB, free: 61.98 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03454/18.16, allocations: 7.842 MB / 4.544 GB, free: 54.22 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/18.16, allocations: 188 kB / 4.544 GB, free: 54.04 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/18.16, allocations: 340 kB / 4.545 GB, free: 53.71 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02721/18.19, allocations: 7.024 MB / 4.551 GB, free: 46.68 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/18.22, allocations: 7.03 MB / 4.558 GB, free: 39.43 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003349/18.22, allocations: 19.84 kB / 4.558 GB, free: 39.41 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/18.22, allocations: 11.98 kB / 4.558 GB, free: 39.4 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/18.22, allocations: 274.2 kB / 4.559 GB, free: 39.13 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09246/18.31, allocations: 31.24 MB / 4.589 GB, free: 7.109 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/18.33, allocations: 4.738 MB / 4.594 GB, free: 2.398 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008244/18.34, allocations: 2.612 MB / 4.596 GB, free: 15.78 MB / 0.8464 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005045/18.35, allocations: 2.416 MB / 4.599 GB, free: 12.9 MB / 0.8464 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01123/18.36, allocations: 2.787 MB / 4.601 GB, free: 10.08 MB / 0.8464 GB Notification: Performance of pre-optimization done (n=417): time 1.485e-05/18.36, allocations: 0 / 4.601 GB, free: 10.08 MB / 0.8464 GB Notification: Performance of matching and sorting (n=417): time 0.0467/18.4, allocations: 6.303 MB / 4.608 GB, free: 3.746 MB / 0.8464 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/18.4, allocations: 359.7 kB / 4.608 GB, free: 3.32 MB / 0.8464 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01668/18.42, allocations: 4.555 MB / 4.612 GB, free: 14.79 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 0.001563/18.42, allocations: 33.73 kB / 4.612 GB, free: 14.75 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 0.004868/18.43, allocations: 2.112 MB / 4.614 GB, free: 12.61 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 0.004785/18.43, allocations: 1.359 MB / 4.616 GB, free: 11.23 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/18.43, allocations: 0 / 4.616 GB, free: 11.23 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 0.0007932/18.43, allocations: 479.6 kB / 4.616 GB, free: 10.75 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/18.44, allocations: 2.133 MB / 4.618 GB, free: 8.609 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/18.46, allocations: 3.058 MB / 4.621 GB, free: 5.168 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03439/18.49, allocations: 4.076 MB / 4.625 GB, free: 1.082 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-05/18.49, allocations: 8 kB / 4.625 GB, free: 1.074 MB / 0.8621 GB Notification: Performance of matching and sorting (n=564) (initialization): time 0.4725/18.97, allocations: 7.325 MB / 4.632 GB, free: 206.7 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 0.002442/18.97, allocations: 10.52 MB / 4.643 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/18.97, allocations: 21.84 kB / 4.643 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/18.97, allocations: 48.5 kB / 4.643 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01989/18.99, allocations: 1.302 MB / 4.644 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001598/18.99, allocations: 56.12 kB / 4.644 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02087/19.01, allocations: 0.6758 MB / 4.645 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/19.01, allocations: 238.2 kB / 4.645 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/19.01, allocations: 2.594 kB / 4.645 GB, free: 195.6 MB / 0.8621 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04235/19.06, allocations: 6.76 MB / 4.652 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.043e-05/19.06, allocations: 21.41 kB / 4.652 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.492e-05/19.06, allocations: 50.03 kB / 4.652 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/19.07, allocations: 1.303 MB / 4.653 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.52e-05/19.07, allocations: 54.19 kB / 4.653 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/19.09, allocations: 0.6203 MB / 4.654 GB, free: 195.5 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002699/19.09, allocations: 228.5 kB / 4.654 GB, free: 195.5 MB / 0.8621 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 562 * Array equations: 0 * Algorithm blocks: 2 * 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.00364/19.1, allocations: 212.1 kB / 4.654 GB, free: 195.4 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00324/19.1, allocations: 0.5515 MB / 4.655 GB, free: 195.2 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05406/19.15, allocations: 7.707 MB / 4.662 GB, free: 195 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/19.15, allocations: 42.88 kB / 4.662 GB, free: 195 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/19.15, allocations: 0 / 4.662 GB, free: 195 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04331/19.2, allocations: 5.924 MB / 4.668 GB, free: 194.7 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0701/19.27, allocations: 14.46 MB / 4.682 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/19.27, allocations: 3.844 kB / 4.682 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01601/19.28, allocations: 1.049 MB / 4.683 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.425e-05/19.28, allocations: 21.73 kB / 4.683 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/19.28, allocations: 100.5 kB / 4.683 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.525e-05/19.28, allocations: 24.62 kB / 4.683 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/19.28, allocations: 15.53 kB / 4.683 GB, free: 193.8 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05297/19.34, allocations: 10.65 MB / 4.694 GB, free: 192.1 MB / 0.8621 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06761/19.41, allocations: 14.37 MB / 4.708 GB, free: 190 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006676/19.41, allocations: 1.573 MB / 4.709 GB, free: 189.7 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003494/19.42, allocations: 24.11 kB / 4.709 GB, free: 189.7 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/19.43, allocations: 434.8 kB / 4.71 GB, free: 189.6 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/19.43, allocations: 239.6 kB / 4.71 GB, free: 189.6 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009244/19.43, allocations: 174.4 kB / 4.71 GB, free: 189.6 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.01029/19.44, allocations: 3.532 MB / 4.713 GB, free: 189.5 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.03275/19.47, allocations: 3.956 MB / 4.717 GB, free: 189.2 MB / 0.8621 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 12 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (437): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.007453/19.48, allocations: 1.564 MB / 4.719 GB, free: 189 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.02775/19.51, allocations: 8.439 MB / 4.727 GB, free: 188.7 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/19.51, allocations: 5.047 kB / 4.727 GB, free: 188.7 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.008197/19.52, allocations: 2.556 MB / 4.73 GB, free: 188.7 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0232/19.54, allocations: 2.368 MB / 4.732 GB, free: 188.7 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/19.59, allocations: 11.59 MB / 4.743 GB, free: 186.4 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02269/19.61, allocations: 5.122 MB / 4.748 GB, free: 185.5 MB / 0.8621 GB Notification: Performance of SimCode: time 1.623e-06/19.61, allocations: 0 / 4.748 GB, free: 185.5 MB / 0.8621 GB