Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 289.8 MB / 297.1 MB, free: 9.008 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.001119/0.001119, allocations: 192.6 kB / 366.3 MB, free: 11.33 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.532/1.532, allocations: 205.1 MB / 0.6256 GB, free: 11.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 89.83 kB / 0.7396 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5656/0.5666, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.8217, allocations: 116.3 MB / 0.9726 GB, free: 31.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8999/1.722, allocations: 418.9 MB / 1.382 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.722, allocations: 92.27 kB / 1.382 GB, free: 12.78 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 2.611/4.333, allocations: 0.7808 GB / 2.163 GB, free: 7.996 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/4.333, allocations: 11.94 kB / 2.163 GB, free: 7.984 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/4.345, allocations: 1.727 MB / 2.164 GB, free: 6.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/4.36, allocations: 4.117 MB / 2.168 GB, free: 2.059 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/4.36, allocations: 88 kB / 2.168 GB, free: 1.973 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/4.362, allocations: 168 kB / 2.169 GB, free: 1.809 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4836/4.846, allocations: 3.399 MB / 2.172 GB, free: 270.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/4.857, allocations: 3.582 MB / 2.175 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/4.857, allocations: 6.969 kB / 2.175 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/4.858, allocations: 7.062 kB / 2.175 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/4.858, allocations: 131.7 kB / 2.175 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/4.89, allocations: 16.33 MB / 2.191 GB, free: 264.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/4.893, allocations: 1.916 MB / 2.193 GB, free: 264.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/4.895, allocations: 1.234 MB / 2.195 GB, free: 264.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/4.896, allocations: 1.639 MB / 2.196 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/4.896, allocations: 56.53 kB / 2.196 GB, free: 262.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=164): time 4.218e-06/4.896, allocations: 0 / 2.196 GB, free: 262.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=164): time 0.01247/4.909, allocations: 3.02 MB / 2.199 GB, free: 262.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/4.909, allocations: 119.4 kB / 2.199 GB, free: 262.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004301/4.913, allocations: 2.409 MB / 2.202 GB, free: 261.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/4.914, allocations: 32.95 kB / 2.202 GB, free: 261.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/4.915, allocations: 1.163 MB / 2.203 GB, free: 261.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/4.915, allocations: 0.5429 MB / 2.203 GB, free: 261.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/4.916, allocations: 0 / 2.203 GB, free: 261.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001719/4.916, allocations: 392.4 kB / 2.204 GB, free: 260.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/4.917, allocations: 1.057 MB / 2.205 GB, free: 260.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/4.919, allocations: 1.522 MB / 2.206 GB, free: 260.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/4.935, allocations: 2.664 MB / 2.209 GB, free: 260.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/4.935, allocations: 0 / 2.209 GB, free: 260.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01935/4.954, allocations: 4.291 MB / 2.213 GB, free: 260.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/4.955, allocations: 4.751 MB / 2.218 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/4.955, allocations: 10.41 kB / 2.218 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.541e-05/4.955, allocations: 26 kB / 2.218 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/4.959, allocations: 0.6868 MB / 2.218 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.019e-05/4.96, allocations: 33.62 kB / 2.218 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004985/4.965, allocations: 409.5 kB / 2.219 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/4.965, allocations: 113.4 kB / 2.219 GB, free: 255 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/4.965, allocations: 6.078 kB / 2.219 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01836/4.983, allocations: 3.989 MB / 2.223 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/4.983, allocations: 11.31 kB / 2.223 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/4.983, allocations: 26.47 kB / 2.223 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/4.987, allocations: 0.681 MB / 2.223 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.605e-05/4.987, allocations: 31.86 kB / 2.223 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/4.993, allocations: 355.7 kB / 2.224 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/4.993, allocations: 116 kB / 2.224 GB, free: 254.9 MB / 0.948 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 (274): * Single equations (assignments): 274 * 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.0009465/4.994, allocations: 155.5 kB / 2.224 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/4.995, allocations: 275.1 kB / 2.224 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/5.009, allocations: 3.628 MB / 2.228 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/5.009, allocations: 19.72 kB / 2.228 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/5.009, allocations: 0 / 2.228 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/5.019, allocations: 2.9 MB / 2.231 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/5.043, allocations: 7.835 MB / 2.238 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/5.043, allocations: 3.844 kB / 2.238 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/5.046, allocations: 488.6 kB / 2.239 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/5.046, allocations: 11.78 kB / 2.239 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/5.046, allocations: 41.23 kB / 2.239 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/5.046, allocations: 12.66 kB / 2.239 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/5.046, allocations: 13 kB / 2.239 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01341/5.06, allocations: 4.948 MB / 2.244 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01514/5.075, allocations: 6.773 MB / 2.25 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/5.078, allocations: 0.8134 MB / 2.251 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/5.078, allocations: 14.34 kB / 2.251 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003332/5.082, allocations: 237.2 kB / 2.251 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/5.082, allocations: 97.16 kB / 2.251 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/5.082, allocations: 89.75 kB / 2.252 GB, free: 249.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003276/5.085, allocations: 1.932 MB / 2.253 GB, free: 249.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008067/5.093, allocations: 1.965 MB / 2.255 GB, free: 249.3 MB / 0.948 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.001703/5.095, allocations: 0.7807 MB / 2.256 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006597/5.102, allocations: 3.991 MB / 2.26 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/5.102, allocations: 3.438 kB / 2.26 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/5.104, allocations: 1.083 MB / 2.261 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007114/5.111, allocations: 1.162 MB / 2.262 GB, free: 249.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/5.124, allocations: 5.625 MB / 2.268 GB, free: 247.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/5.128, allocations: 2.839 MB / 2.271 GB, free: 247.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/5.128, allocations: 0 / 2.271 GB, free: 247.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)