Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 186.2 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5234/0.5234, allocations: 90.86 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.4 MB / 342.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 92.38 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.2027, allocations: 78.45 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.6519, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.7775, allocations: 101.8 MB / 0.6524 GB, free: 8.176 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.7778, allocations: 83.89 kB / 0.6525 GB, free: 8.094 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00359/0.7814, allocations: 1.162 MB / 0.6536 GB, free: 6.914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7815, allocations: 12 kB / 0.6536 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.7815, allocations: 2.75 kB / 0.6536 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.7818, allocations: 174.9 kB / 0.6538 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.7818, allocations: 0.7812 kB / 0.6538 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.7818, allocations: 4 kB / 0.6538 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.208e-05/0.7819, allocations: 24.92 kB / 0.6538 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.782, allocations: 49.62 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.782, allocations: 0.9375 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.782, allocations: 0 / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.7821, allocations: 0 / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.7825, allocations: 259.4 kB / 0.6541 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.7827, allocations: 59.64 kB / 0.6542 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.7828, allocations: 25.66 kB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.7828, allocations: 0.9062 kB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7829, allocations: 35.69 kB / 0.6542 GB, free: 6.184 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.7829, allocations: 0 / 0.6542 GB, free: 6.184 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002035/0.7831, allocations: 49.69 kB / 0.6543 GB, free: 6.129 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7831, allocations: 60.12 kB / 0.6543 GB, free: 6.059 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.7832, allocations: 93.48 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.7833, allocations: 26.33 kB / 0.6544 GB, free: 5.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.7833, allocations: 89.02 kB / 0.6545 GB, free: 5.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.7834, allocations: 15.81 kB / 0.6545 GB, free: 5.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7834, allocations: 0 / 0.6545 GB, free: 5.824 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7835, allocations: 315.7 kB / 0.6548 GB, free: 5.508 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.7836, allocations: 8.531 kB / 0.6548 GB, free: 5.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.7836, allocations: 9.438 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.7836, allocations: 19.19 kB / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7837, allocations: 1.094 kB / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.847e-05/0.7838, allocations: 53.59 kB / 0.6549 GB, free: 5.418 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7838, allocations: 4 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7838, allocations: 0.5 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7838, allocations: 0.75 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.7839, allocations: 15.98 kB / 0.6549 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7839, allocations: 0.7188 kB / 0.6549 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.7839, allocations: 5.156 kB / 0.6549 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.7839, allocations: 4.75 kB / 0.6549 GB, free: 5.391 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.11e-05/0.784, allocations: 101.9 kB / 0.655 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.7841, allocations: 0 / 0.655 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.7842, allocations: 82.58 kB / 0.6551 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7842, allocations: 4 kB / 0.6551 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7843, allocations: 4.891 kB / 0.6551 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7843, allocations: 0 / 0.6551 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.7845, allocations: 146.8 kB / 0.6553 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7845, allocations: 0 / 0.6553 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.7845, allocations: 16.8 kB / 0.6553 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7846, allocations: 3.906 kB / 0.6553 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.7846, allocations: 6.562 kB / 0.6553 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.7846, allocations: 4 kB / 0.6553 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7846, allocations: 0 / 0.6553 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001613/0.7847, allocations: 164.9 kB / 0.6555 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002966/0.7851, allocations: 0.5366 MB / 0.656 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.7851, allocations: 81.61 kB / 0.6561 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7851, allocations: 4.75 kB / 0.6561 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.7852, allocations: 0 / 0.6561 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.7852, allocations: 8.578 kB / 0.6561 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.7852, allocations: 5.781 kB / 0.6561 GB, free: 4.141 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.599e-05/0.7853, allocations: 79.78 kB / 0.6562 GB, free: 4.062 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008013/0.7861, allocations: 8.594 kB / 0.6562 GB, free: 4.055 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000145/0.7862, allocations: 100.1 kB / 0.6563 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.7864, allocations: 38.36 kB / 0.6563 GB, free: 3.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7864, allocations: 0.5 kB / 0.6563 GB, free: 3.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.7864, allocations: 16.5 kB / 0.6563 GB, free: 3.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.7866, allocations: 8.688 kB / 0.6563 GB, free: 3.887 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.7868, allocations: 88.14 kB / 0.6564 GB, free: 3.777 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.7872, allocations: 0.6973 MB / 0.6571 GB, free: 3.055 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7872, allocations: 0 / 0.6571 GB, free: 3.055 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)