Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001625/0.001625, allocations: 181.2 kB / 487 MB, free: 5.387 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.471/1.471, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.98 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7135/0.7146, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.9961, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/2.138, allocations: 430.1 MB / 1.625 GB, free: 9.492 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/2.138, allocations: 88.33 kB / 1.625 GB, free: 9.449 MB / 1.057 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 2.916/5.054, allocations: 0.8063 GB / 2.432 GB, free: 180.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/5.054, allocations: 8 kB / 2.432 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/5.066, allocations: 1.798 MB / 2.433 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/5.077, allocations: 4.228 MB / 2.438 GB, free: 174.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/5.077, allocations: 99.91 kB / 2.438 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/5.079, allocations: 176 kB / 2.438 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00787/5.087, allocations: 3.491 MB / 2.441 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006389/5.093, allocations: 3.684 MB / 2.445 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.075e-05/5.093, allocations: 4 kB / 2.445 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/5.094, allocations: 4 kB / 2.445 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/5.094, allocations: 141.6 kB / 2.445 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/5.122, allocations: 17.6 MB / 2.462 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/5.124, allocations: 1.941 MB / 2.464 GB, free: 146 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/5.126, allocations: 1.243 MB / 2.465 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/5.127, allocations: 1.647 MB / 2.467 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/5.128, allocations: 51.88 kB / 2.467 GB, free: 142.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 4.158e-06/5.128, allocations: 0 / 2.467 GB, free: 142.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01158/5.139, allocations: 3.06 MB / 2.47 GB, free: 139.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/5.139, allocations: 120.1 kB / 2.47 GB, free: 139.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/5.143, allocations: 2.411 MB / 2.472 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/5.143, allocations: 29.7 kB / 2.472 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/5.144, allocations: 1.216 MB / 2.474 GB, free: 135.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006689/5.145, allocations: 0.5428 MB / 2.474 GB, free: 135.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/5.145, allocations: 0 / 2.474 GB, free: 135.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00013/5.145, allocations: 394.2 kB / 2.475 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/5.147, allocations: 1.063 MB / 2.476 GB, free: 133.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/5.149, allocations: 1.539 MB / 2.477 GB, free: 132.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/5.163, allocations: 2.695 MB / 2.48 GB, free: 129.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/5.163, allocations: 4 kB / 2.48 GB, free: 129.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0185/5.182, allocations: 4.332 MB / 2.484 GB, free: 125.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007593/5.182, allocations: 4.758 MB / 2.489 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/5.182, allocations: 12 kB / 2.489 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/5.182, allocations: 27.91 kB / 2.489 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/5.187, allocations: 0.7021 MB / 2.489 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/5.187, allocations: 31.92 kB / 2.489 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/5.192, allocations: 425.2 kB / 2.49 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/5.192, allocations: 119.9 kB / 2.49 GB, free: 118.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/5.192, allocations: 4 kB / 2.49 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01783/5.21, allocations: 4.028 MB / 2.494 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/5.21, allocations: 12 kB / 2.494 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/5.21, allocations: 24 kB / 2.494 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/5.214, allocations: 0.7065 MB / 2.495 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/5.214, allocations: 27.88 kB / 2.495 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/5.219, allocations: 370 kB / 2.495 GB, free: 113.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/5.219, allocations: 111.9 kB / 2.495 GB, free: 113.3 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.0006861/5.22, allocations: 160.3 kB / 2.495 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007656/5.22, allocations: 272.6 kB / 2.495 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/5.234, allocations: 3.676 MB / 2.499 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/5.234, allocations: 23.89 kB / 2.499 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/5.234, allocations: 0 / 2.499 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009717/5.243, allocations: 2.947 MB / 2.502 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/5.264, allocations: 8.078 MB / 2.51 GB, free: 97.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/5.265, allocations: 4 kB / 2.51 GB, free: 97.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/5.268, allocations: 499.4 kB / 2.51 GB, free: 97.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/5.268, allocations: 15.94 kB / 2.51 GB, free: 97.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/5.268, allocations: 43.94 kB / 2.51 GB, free: 97.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/5.268, allocations: 12 kB / 2.51 GB, free: 97.14 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/5.268, allocations: 11.94 kB / 2.51 GB, free: 97.13 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01273/5.281, allocations: 5.01 MB / 2.515 GB, free: 91.87 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01438/5.295, allocations: 6.865 MB / 2.522 GB, free: 84.75 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/5.298, allocations: 0.8092 MB / 2.523 GB, free: 83.92 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009888/5.299, allocations: 19.98 kB / 2.523 GB, free: 83.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/5.302, allocations: 243.6 kB / 2.523 GB, free: 83.66 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/5.303, allocations: 93.08 kB / 2.523 GB, free: 83.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/5.303, allocations: 95.91 kB / 2.523 GB, free: 83.48 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.003149/5.306, allocations: 1.941 MB / 2.525 GB, free: 81.54 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008505/5.315, allocations: 2.014 MB / 2.527 GB, free: 79.52 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.001796/5.316, allocations: 0.7666 MB / 2.528 GB, free: 78.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006369/5.323, allocations: 4.031 MB / 2.532 GB, free: 74.78 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/5.323, allocations: 4.438 kB / 2.532 GB, free: 74.78 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/5.324, allocations: 1.092 MB / 2.533 GB, free: 73.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/5.331, allocations: 1.172 MB / 2.534 GB, free: 72.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/5.344, allocations: 5.781 MB / 2.54 GB, free: 66.64 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003526/5.348, allocations: 2.889 MB / 2.542 GB, free: 63.71 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/5.348, allocations: 0 / 2.542 GB, free: 63.71 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)