Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001329/0.001329, allocations: 194.5 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5138/0.5138, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.322/1.322, allocations: 221.4 MB / 342.7 MB, free: 5.254 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.0009792/0.0009795, allocations: 95.75 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1847/0.1857, allocations: 78.46 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.61, allocations: 72.3 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.7306, allocations: 101.1 MB / 0.6517 GB, free: 8.848 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.7309, allocations: 79.94 kB / 0.6518 GB, free: 8.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0026/0.7335, allocations: 0.8514 MB / 0.6526 GB, free: 7.891 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7336, allocations: 12 kB / 0.6527 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.7336, allocations: 5.031 kB / 0.6527 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7337, allocations: 167 kB / 0.6528 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.7337, allocations: 0 / 0.6528 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.7337, allocations: 4.625 kB / 0.6528 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.508e-05/0.7338, allocations: 8 kB / 0.6528 GB, free: 7.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.919e-05/0.7339, allocations: 34.84 kB / 0.6529 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.7339, allocations: 2.438 kB / 0.6529 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7339, allocations: 12.7 kB / 0.6529 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.734, allocations: 0 / 0.6529 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.7343, allocations: 223 kB / 0.6531 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.7345, allocations: 43.89 kB / 0.6531 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.7345, allocations: 12.92 kB / 0.6531 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7345, allocations: 5.469 kB / 0.6531 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.7346, allocations: 34.47 kB / 0.6532 GB, free: 7.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7346, allocations: 0.7812 kB / 0.6532 GB, free: 7.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001789/0.7348, allocations: 41.78 kB / 0.6532 GB, free: 7.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.7348, allocations: 56.23 kB / 0.6533 GB, free: 7.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.936e-05/0.7349, allocations: 85 kB / 0.6534 GB, free: 7.039 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.7349, allocations: 26.55 kB / 0.6534 GB, free: 7.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.7349, allocations: 89.05 kB / 0.6535 GB, free: 6.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.735, allocations: 11.84 kB / 0.6535 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.735, allocations: 0 / 0.6535 GB, free: 6.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7351, allocations: 315.5 kB / 0.6538 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.7351, allocations: 4.625 kB / 0.6538 GB, free: 6.586 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.7352, allocations: 8 kB / 0.6538 GB, free: 6.578 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.7352, allocations: 8.891 kB / 0.6538 GB, free: 6.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7352, allocations: 0 / 0.6538 GB, free: 6.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.341e-05/0.7353, allocations: 42.44 kB / 0.6538 GB, free: 6.523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7353, allocations: 4 kB / 0.6538 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7353, allocations: 6.312 kB / 0.6539 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.7353, allocations: 0 / 0.6539 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.7354, allocations: 5.125 kB / 0.6539 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7354, allocations: 3.375 kB / 0.6539 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.7354, allocations: 0 / 0.6539 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.7355, allocations: 4.703 kB / 0.6539 GB, free: 6.508 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 (3): * Single equations (assignments): 3 * 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 9.157e-05/0.7356, allocations: 113.4 kB / 0.654 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7356, allocations: 0.5312 kB / 0.654 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.7357, allocations: 67.23 kB / 0.654 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7358, allocations: 4 kB / 0.654 GB, free: 6.312 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7358, allocations: 1.375 kB / 0.654 GB, free: 6.312 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7358, allocations: 0 / 0.654 GB, free: 6.312 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.7359, allocations: 142.6 kB / 0.6542 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7359, allocations: 0 / 0.6542 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.736, allocations: 8.75 kB / 0.6542 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.736, allocations: 0 / 0.6542 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.736, allocations: 5.031 kB / 0.6542 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.736, allocations: 3.938 kB / 0.6542 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.736, allocations: 0 / 0.6542 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000152/0.7362, allocations: 158.7 kB / 0.6543 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002698/0.7365, allocations: 0.5247 MB / 0.6549 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.7365, allocations: 77.11 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.7365, allocations: 3.406 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.7366, allocations: 0.5312 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.7366, allocations: 8.5 kB / 0.6549 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.7366, allocations: 7.984 kB / 0.655 GB, free: 5.301 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.552e-05/0.7367, allocations: 75.78 kB / 0.655 GB, free: 5.227 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007463/0.7374, allocations: 4.844 kB / 0.655 GB, free: 5.223 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 (6): * Single equations (assignments): 6 * 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.0001306/0.7376, allocations: 103.9 kB / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.7377, allocations: 19.03 kB / 0.6551 GB, free: 5.094 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7377, allocations: 0 / 0.6551 GB, free: 5.094 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.7377, allocations: 16 kB / 0.6552 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.7378, allocations: 2.062 kB / 0.6552 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.7381, allocations: 75.72 kB / 0.6552 GB, free: 4.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7384, allocations: 0.6932 MB / 0.6559 GB, free: 4.266 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7385, allocations: 2.812 kB / 0.6559 GB, free: 4.266 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)