Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 173.3 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9885/0.9885, allocations: 205.1 MB / 0.6195 GB, free: 10.37 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007231/0.0007231, allocations: 96.48 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.168/0.1687, allocations: 121.4 MB / 0.8512 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.5677, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.6999, allocations: 137.8 MB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.7002, allocations: 80.61 kB / 1.098 GB, free: 2.047 MB / 0.698 GB 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.007146/0.7073, allocations: 2.701 MB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.7074, allocations: 13.03 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.7074, allocations: 7.906 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7075, allocations: 169.8 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.7075, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.7076, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.324e-05/0.7076, allocations: 15.91 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.7077, allocations: 62.33 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.7077, allocations: 4.844 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7077, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7078, allocations: 5.062 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.7081, allocations: 238.4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.7081, allocations: 36.23 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.7082, allocations: 14.3 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.7082, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/0.7082, allocations: 63.05 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7083, allocations: 3.75 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001293/0.7084, allocations: 49.62 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7084, allocations: 111.2 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.7085, allocations: 97.48 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.7085, allocations: 27.02 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.7086, allocations: 88.14 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.7086, allocations: 7.844 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.7086, allocations: 0.5312 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.7086, allocations: 315.4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.7087, allocations: 12.55 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.7087, allocations: 33.41 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.7087, allocations: 8 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7088, allocations: 0 / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.662e-05/0.7088, allocations: 62.59 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.7089, allocations: 8.531 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.7089, allocations: 0 / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.7089, allocations: 0.625 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.7089, allocations: 9.391 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.709, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.906e-05/0.7091, allocations: 8.75 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.7091, allocations: 6.578 kB / 1.102 GB, free: 13.75 MB / 0.7136 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.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.555e-05/0.7092, allocations: 113.6 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.7092, allocations: 1.344 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.7092, allocations: 3.688 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.7092, allocations: 0.5938 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7092, allocations: 8.625 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7092, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.7093, allocations: 142.9 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7094, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.7094, allocations: 8.609 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7094, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.7094, allocations: 0.5 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7094, allocations: 7.969 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7094, allocations: 4 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.92e-05/0.7095, allocations: 81.59 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001788/0.7097, allocations: 458.1 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.7098, allocations: 93.94 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.7098, allocations: 8 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7099, allocations: 11.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.7099, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.71, allocations: 1.266 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.773e-05/0.71, allocations: 93.53 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000723/0.7107, allocations: 11.98 kB / 1.103 GB, free: 12.63 MB / 0.7136 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.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.0001087/0.7108, allocations: 111 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.7109, allocations: 28 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7109, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.711, allocations: 12 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.674e-05/0.7111, allocations: 7.891 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.7113, allocations: 80.47 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.7115, allocations: 0.6941 MB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7115, allocations: 4 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)