Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover",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/BuildSysPro 3.5.0/package.mo): time 0.7295/0.7295, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001551, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 94.38 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3968/0.3982, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.624, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/1.194, allocations: 105.1 MB / 0.7237 GB, free: 7.125 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.194, allocations: 87.94 kB / 0.7238 GB, free: 7.039 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.03581/1.23, allocations: 8.455 MB / 0.732 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.23, allocations: 8 kB / 0.732 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/1.23, allocations: 27.62 kB / 0.732 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/1.231, allocations: 269.5 kB / 0.7323 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.231, allocations: 8 kB / 0.7323 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/1.231, allocations: 8 kB / 0.7323 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001049/1.232, allocations: 0.7451 MB / 0.733 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/1.232, allocations: 186.9 kB / 0.7332 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.232, allocations: 0 / 0.7332 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/1.232, allocations: 0 / 0.7332 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/1.232, allocations: 7.938 kB / 0.7332 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/1.233, allocations: 0.5632 MB / 0.7338 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/1.234, allocations: 295.6 kB / 0.7341 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/1.234, allocations: 104.9 kB / 0.7342 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/1.235, allocations: 461.4 kB / 0.7346 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/1.235, allocations: 163.6 kB / 0.7348 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 4.329e-06/1.235, allocations: 0 / 0.7348 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0007669/1.236, allocations: 308.9 kB / 0.7351 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.236, allocations: 81.11 kB / 0.7351 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/1.236, allocations: 264.1 kB / 0.7354 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.236, allocations: 29.7 kB / 0.7354 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/1.236, allocations: 100.8 kB / 0.7355 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.236, allocations: 114.2 kB / 0.7356 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.236, allocations: 0 / 0.7356 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.237, allocations: 338.8 kB / 0.7359 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/1.237, allocations: 79.97 kB / 0.736 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/1.237, allocations: 109.8 kB / 0.7361 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/1.237, allocations: 147.6 kB / 0.7363 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.237, allocations: 0 / 0.7363 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008597/1.238, allocations: 329.2 kB / 0.7366 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.238, allocations: 4 kB / 0.7366 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.238, allocations: 0 / 0.7366 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.238, allocations: 4 kB / 0.7366 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.239, allocations: 59.91 kB / 0.7366 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.239, allocations: 4 kB / 0.7366 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.239, allocations: 15.84 kB / 0.7367 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/1.239, allocations: 19.89 kB / 0.7367 GB, free: 9.492 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001083/1.239, allocations: 112 kB / 0.7368 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/1.239, allocations: 23.72 kB / 0.7368 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.24, allocations: 444.3 kB / 0.7372 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.24, allocations: 4 kB / 0.7372 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.24, allocations: 3.984 kB / 0.7372 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.24, allocations: 3.984 kB / 0.7372 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/1.24, allocations: 313.7 kB / 0.7375 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.24, allocations: 3.984 kB / 0.7375 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/1.241, allocations: 63.91 kB / 0.7376 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.241, allocations: 3.938 kB / 0.7376 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.241, allocations: 12 kB / 0.7376 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.241, allocations: 4 kB / 0.7376 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.241, allocations: 0 / 0.7376 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006716/1.241, allocations: 354 kB / 0.738 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009129/1.242, allocations: 0.7246 MB / 0.7387 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.243, allocations: 160.6 kB / 0.7388 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/1.243, allocations: 0 / 0.7388 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/1.243, allocations: 4 kB / 0.7388 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/1.243, allocations: 27.7 kB / 0.7389 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/1.243, allocations: 12 kB / 0.7389 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000206/1.243, allocations: 212.5 kB / 0.7391 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001049/1.244, allocations: 91.83 kB / 0.7392 GB, free: 6.844 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007861/1.245, allocations: 333.5 kB / 0.7395 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003982/1.245, allocations: 228.2 kB / 0.7397 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.245, allocations: 0 / 0.7397 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/1.245, allocations: 128.5 kB / 0.7398 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.246, allocations: 36.39 kB / 0.7398 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/1.247, allocations: 418.4 kB / 0.7402 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/1.247, allocations: 0.8269 MB / 0.7411 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.247, allocations: 0 / 0.7411 GB, free: 4.91 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckSkyCover.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)