Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001228/0.001228, allocations: 188.6 kB / 7.808 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.4787/0.4787, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.265/1.265, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.0009126/0.0009126, allocations: 103.9 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1564/0.1574, allocations: 78.45 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.6099, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.7289, allocations: 101.3 MB / 0.6519 GB, free: 8.684 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.7292, allocations: 79.95 kB / 0.652 GB, free: 8.605 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.007936/0.7371, allocations: 2.716 MB / 0.6547 GB, free: 5.871 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7372, allocations: 8 kB / 0.6547 GB, free: 5.863 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.7373, allocations: 4.719 kB / 0.6547 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.7374, allocations: 171 kB / 0.6548 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.7374, allocations: 2.75 kB / 0.6548 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.7375, allocations: 0 / 0.6548 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.845e-05/0.7375, allocations: 17.42 kB / 0.6549 GB, free: 5.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.7377, allocations: 65.64 kB / 0.6549 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7377, allocations: 0 / 0.6549 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7377, allocations: 3.938 kB / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7377, allocations: 0 / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.7381, allocations: 243.1 kB / 0.6552 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.7382, allocations: 39.34 kB / 0.6552 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.7382, allocations: 13.8 kB / 0.6552 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.7382, allocations: 0 / 0.6552 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.909e-05/0.7383, allocations: 64.2 kB / 0.6553 GB, free: 5.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7383, allocations: 0.625 kB / 0.6553 GB, free: 5.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.000171/0.7385, allocations: 54.56 kB / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.7386, allocations: 106.8 kB / 0.6554 GB, free: 4.957 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.7387, allocations: 93.69 kB / 0.6555 GB, free: 4.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.7387, allocations: 29.7 kB / 0.6555 GB, free: 4.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.7387, allocations: 81.05 kB / 0.6556 GB, free: 4.742 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.7388, allocations: 12.95 kB / 0.6556 GB, free: 4.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.7388, allocations: 0 / 0.6556 GB, free: 4.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.7389, allocations: 322.8 kB / 0.6559 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.7389, allocations: 8.719 kB / 0.6559 GB, free: 4.398 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.739, allocations: 32.7 kB / 0.656 GB, free: 4.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.739, allocations: 19.98 kB / 0.656 GB, free: 4.344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.739, allocations: 0 / 0.656 GB, free: 4.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.629e-05/0.7391, allocations: 53.69 kB / 0.656 GB, free: 4.285 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7392, allocations: 4 kB / 0.6561 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7392, allocations: 0.75 kB / 0.6561 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.7392, allocations: 0 / 0.6561 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.7393, allocations: 8.719 kB / 0.6561 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7393, allocations: 3.906 kB / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.7394, allocations: 13.73 kB / 0.6561 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7394, allocations: 1.812 kB / 0.6561 GB, free: 4.258 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 9.348e-05/0.7395, allocations: 106.1 kB / 0.6562 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7395, allocations: 7.844 kB / 0.6562 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7396, allocations: 4.594 kB / 0.6562 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.7396, allocations: 4 kB / 0.6562 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7396, allocations: 0.5625 kB / 0.6562 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7396, allocations: 4.547 kB / 0.6562 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.7397, allocations: 142.2 kB / 0.6563 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7397, allocations: 9.75 kB / 0.6563 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.7398, allocations: 0 / 0.6563 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7398, allocations: 3.906 kB / 0.6563 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.7398, allocations: 4 kB / 0.6564 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7398, allocations: 1.875 kB / 0.6564 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7398, allocations: 0.6875 kB / 0.6564 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001144/0.7399, allocations: 83.67 kB / 0.6564 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002512/0.7402, allocations: 459.7 kB / 0.6569 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.7403, allocations: 93 kB / 0.657 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.7403, allocations: 0.5625 kB / 0.657 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7404, allocations: 13.77 kB / 0.657 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.7405, allocations: 3.984 kB / 0.657 GB, free: 3.242 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.7405, allocations: 4.844 kB / 0.657 GB, free: 3.238 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.601e-05/0.7405, allocations: 85.94 kB / 0.6571 GB, free: 3.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007463/0.7413, allocations: 15.91 kB / 0.6571 GB, free: 3.141 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001683/0.7415, allocations: 101.5 kB / 0.6572 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.7416, allocations: 33.44 kB / 0.6572 GB, free: 3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.7416, allocations: 0 / 0.6572 GB, free: 3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.7416, allocations: 19.94 kB / 0.6572 GB, free: 2.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.7418, allocations: 3.531 kB / 0.6572 GB, free: 2.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.742, allocations: 76.27 kB / 0.6573 GB, free: 2.883 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.7424, allocations: 0.6949 MB / 0.658 GB, free: 2.168 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7424, allocations: 4 kB / 0.658 GB, free: 2.164 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)