Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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 2.09/2.09, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001227/0.001227, allocations: 172 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.474/1.474, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0009255/0.0009256, allocations: 95.36 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6916/0.6925, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.9851, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/2.099, allocations: 430.1 MB / 1.632 GB, free: 1.41 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/2.099, allocations: 88.89 kB / 1.632 GB, free: 1.367 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 3.172/5.271, allocations: 0.8063 GB / 2.438 GB, free: 179.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/5.271, allocations: 9.406 kB / 2.438 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/5.284, allocations: 1.789 MB / 2.44 GB, free: 178.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/5.3, allocations: 4.242 MB / 2.444 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/5.3, allocations: 95.16 kB / 2.444 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/5.302, allocations: 180.5 kB / 2.444 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/5.312, allocations: 3.492 MB / 2.448 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/5.326, allocations: 3.679 MB / 2.451 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/5.326, allocations: 3.688 kB / 2.451 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/5.327, allocations: 3.625 kB / 2.451 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/5.327, allocations: 141.2 kB / 2.451 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/5.361, allocations: 17.61 MB / 2.469 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/5.364, allocations: 1.936 MB / 2.47 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/5.366, allocations: 1.243 MB / 2.472 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/5.368, allocations: 1.647 MB / 2.473 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/5.368, allocations: 51.88 kB / 2.473 GB, free: 149.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 4.098e-06/5.368, allocations: 3.938 kB / 2.473 GB, free: 149.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01275/5.38, allocations: 3.06 MB / 2.476 GB, free: 146.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/5.381, allocations: 120.1 kB / 2.476 GB, free: 146.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/5.385, allocations: 2.414 MB / 2.479 GB, free: 144.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005313/5.386, allocations: 25.7 kB / 2.479 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009286/5.386, allocations: 1.216 MB / 2.48 GB, free: 142.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007532/5.387, allocations: 0.5427 MB / 2.481 GB, free: 142.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/5.387, allocations: 0 / 2.481 GB, free: 142.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001289/5.388, allocations: 394.2 kB / 2.481 GB, free: 142 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/5.389, allocations: 1.07 MB / 2.482 GB, free: 140.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/5.391, allocations: 1.532 MB / 2.483 GB, free: 139.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/5.406, allocations: 2.695 MB / 2.486 GB, free: 136.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/5.406, allocations: 4 kB / 2.486 GB, free: 136.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01885/5.425, allocations: 4.328 MB / 2.49 GB, free: 132.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009382/5.426, allocations: 4.762 MB / 2.495 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/5.426, allocations: 12 kB / 2.495 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/5.426, allocations: 20 kB / 2.495 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/5.43, allocations: 0.706 MB / 2.496 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/5.43, allocations: 31.92 kB / 2.496 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/5.436, allocations: 425.2 kB / 2.496 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/5.436, allocations: 119.9 kB / 2.496 GB, free: 125.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/5.436, allocations: 0 / 2.496 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01977/5.456, allocations: 4.025 MB / 2.5 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/5.456, allocations: 16.03 kB / 2.5 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/5.456, allocations: 31.92 kB / 2.5 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/5.461, allocations: 0.6943 MB / 2.501 GB, free: 120.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.546e-05/5.461, allocations: 35.86 kB / 2.501 GB, free: 120.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/5.466, allocations: 369.9 kB / 2.501 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007692/5.467, allocations: 111.9 kB / 2.501 GB, free: 120.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 276 * 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 0.001158/5.468, allocations: 152.4 kB / 2.502 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/5.469, allocations: 280.5 kB / 2.502 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/5.484, allocations: 3.68 MB / 2.505 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/5.484, allocations: 19.98 kB / 2.505 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/5.484, allocations: 3.875 kB / 2.505 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01112/5.495, allocations: 2.939 MB / 2.508 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/5.52, allocations: 8.084 MB / 2.516 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/5.52, allocations: 4 kB / 2.516 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/5.524, allocations: 0.496 MB / 2.517 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.083e-05/5.524, allocations: 8 kB / 2.517 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/5.524, allocations: 39.94 kB / 2.517 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/5.524, allocations: 12 kB / 2.517 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/5.524, allocations: 7.938 kB / 2.517 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01446/5.539, allocations: 5.018 MB / 2.522 GB, free: 98.93 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0166/5.556, allocations: 6.857 MB / 2.528 GB, free: 91.81 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002978/5.559, allocations: 0.8092 MB / 2.529 GB, free: 90.98 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/5.56, allocations: 19.98 kB / 2.529 GB, free: 90.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004653/5.565, allocations: 243.6 kB / 2.529 GB, free: 90.72 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/5.565, allocations: 97.09 kB / 2.529 GB, free: 90.63 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003561/5.566, allocations: 83.91 kB / 2.53 GB, free: 90.55 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.004402/5.57, allocations: 1.941 MB / 2.531 GB, free: 88.61 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0108/5.581, allocations: 2.014 MB / 2.533 GB, free: 86.59 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002237/5.583, allocations: 0.7783 MB / 2.534 GB, free: 85.86 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007614/5.591, allocations: 4.034 MB / 2.538 GB, free: 81.84 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/5.591, allocations: 448 / 2.538 GB, free: 81.84 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/5.593, allocations: 1.088 MB / 2.539 GB, free: 80.75 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007079/5.6, allocations: 1.174 MB / 2.54 GB, free: 79.61 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/5.619, allocations: 5.796 MB / 2.546 GB, free: 73.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00499/5.624, allocations: 2.886 MB / 2.549 GB, free: 70.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/5.624, allocations: 4 kB / 2.549 GB, free: 70.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)