Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001267/0.001267, allocations: 191.5 kB / 7.804 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.4614/0.4614, 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.321/1.321, allocations: 221.4 MB / 342.7 MB, free: 5.238 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.0009403/0.0009403, allocations: 94 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1765/0.1775, allocations: 78.44 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.5694, allocations: 72.31 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.685, allocations: 101.4 MB / 0.652 GB, free: 8.621 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.6853, allocations: 87.88 kB / 0.6521 GB, free: 8.535 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.007627/0.6929, allocations: 2.726 MB / 0.6548 GB, free: 5.793 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.693, allocations: 8 kB / 0.6548 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.693, allocations: 4 kB / 0.6548 GB, free: 5.781 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.6932, allocations: 163.7 kB / 0.6549 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6932, allocations: 5.75 kB / 0.6549 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.6932, allocations: 0.7812 kB / 0.6549 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.898e-05/0.6933, allocations: 15.98 kB / 0.6549 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.6934, allocations: 62.08 kB / 0.655 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.6934, allocations: 0 / 0.655 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.6935, allocations: 11.12 kB / 0.655 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6935, allocations: 1.062 kB / 0.655 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.6939, allocations: 242.3 kB / 0.6552 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.694, allocations: 35.42 kB / 0.6553 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.6941, allocations: 13.7 kB / 0.6553 GB, free: 5.148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.6941, allocations: 4.922 kB / 0.6553 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.54e-05/0.6942, allocations: 56.72 kB / 0.6553 GB, free: 5.078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.6942, allocations: 4 kB / 0.6554 GB, free: 5.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001676/0.6944, allocations: 53.59 kB / 0.6554 GB, free: 5.016 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.6944, allocations: 103.4 kB / 0.6555 GB, free: 4.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.6945, allocations: 97.62 kB / 0.6556 GB, free: 4.789 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.6945, allocations: 25.7 kB / 0.6556 GB, free: 4.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.6946, allocations: 84.92 kB / 0.6557 GB, free: 4.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.6946, allocations: 13.39 kB / 0.6557 GB, free: 4.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6946, allocations: 0 / 0.6557 GB, free: 4.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.6947, allocations: 318.8 kB / 0.656 GB, free: 4.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.6948, allocations: 12 kB / 0.656 GB, free: 4.328 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.6948, allocations: 37 kB / 0.6561 GB, free: 4.285 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.6948, allocations: 8.75 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6948, allocations: 0 / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.925e-05/0.6949, allocations: 54.88 kB / 0.6561 GB, free: 4.219 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.695, allocations: 10.03 kB / 0.6561 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.695, allocations: 0 / 0.6561 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.695, allocations: 0.7188 kB / 0.6561 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.6951, allocations: 5.312 kB / 0.6561 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.6951, allocations: 4.406 kB / 0.6561 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.6952, allocations: 13.83 kB / 0.6562 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.6952, allocations: 4 kB / 0.6562 GB, free: 4.188 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 7.392e-05/0.6953, allocations: 102.4 kB / 0.6563 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.6953, allocations: 11.84 kB / 0.6563 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.6954, allocations: 8.172 kB / 0.6563 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.6954, allocations: 48 / 0.6563 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6954, allocations: 5.359 kB / 0.6563 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6954, allocations: 4 kB / 0.6563 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.6955, allocations: 145 kB / 0.6564 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6955, allocations: 8.438 kB / 0.6564 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.6955, allocations: 4 kB / 0.6564 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6955, allocations: 3.906 kB / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.6955, allocations: 0 / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6956, allocations: 0 / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6956, allocations: 4.547 kB / 0.6564 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001034/0.6957, allocations: 84.2 kB / 0.6565 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002007/0.6959, allocations: 459.6 kB / 0.657 GB, free: 3.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.6959, allocations: 89 kB / 0.657 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.696, allocations: 1.125 kB / 0.6571 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.6961, allocations: 13.05 kB / 0.6571 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.6961, allocations: 9.422 kB / 0.6571 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.6961, allocations: 0 / 0.6571 GB, free: 3.168 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.907e-05/0.6962, allocations: 83.28 kB / 0.6572 GB, free: 3.086 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007412/0.6969, allocations: 19.91 kB / 0.6572 GB, free: 3.066 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.0001346/0.6971, allocations: 100.6 kB / 0.6573 GB, free: 2.957 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.6972, allocations: 27.98 kB / 0.6573 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6972, allocations: 0.5938 kB / 0.6573 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.6972, allocations: 21.47 kB / 0.6573 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.6974, allocations: 0 / 0.6573 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.6976, allocations: 80.34 kB / 0.6574 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.6979, allocations: 0.6907 MB / 0.6581 GB, free: 2.098 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6979, allocations: 0 / 0.6581 GB, free: 2.098 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)