Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 189.1 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 0.5667 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 94.3 kB / 0.671 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3909/0.3918, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.5797, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.547/1.127, allocations: 132.6 MB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.127, allocations: 82 kB / 1.014 GB, free: 5.879 MB / 0.6355 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.00742/1.134, allocations: 2.704 MB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.135, allocations: 8 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/1.135, allocations: 0 / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/1.135, allocations: 182.3 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.135, allocations: 0 / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.135, allocations: 7.938 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.541e-05/1.135, allocations: 11.5 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/1.135, allocations: 59.88 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/1.135, allocations: 3.938 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/1.135, allocations: 0 / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.135, allocations: 4 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/1.135, allocations: 240.1 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/1.135, allocations: 41.56 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/1.135, allocations: 13.45 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.135, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.082e-05/1.135, allocations: 58.5 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/1.135, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001514/1.136, allocations: 60.7 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/1.136, allocations: 106.8 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/1.136, allocations: 100.4 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/1.136, allocations: 25.7 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/1.136, allocations: 80.14 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/1.136, allocations: 19.38 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.136, allocations: 0 / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.136, allocations: 322.8 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/1.136, allocations: 11.62 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/1.136, allocations: 29.02 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/1.136, allocations: 7.625 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.136, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.035e-05/1.136, allocations: 52.88 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.136, allocations: 8 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.136, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.136, allocations: 7.938 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/1.136, allocations: 11.92 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/1.136, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/1.136, allocations: 12.42 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/1.136, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.6355 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 6.724e-05/1.137, allocations: 101 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/1.137, allocations: 7.906 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/1.137, allocations: 10.88 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.137, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.137, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.137, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/1.137, allocations: 149.6 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.137, allocations: 3.906 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/1.137, allocations: 4 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/1.137, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/1.137, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.137, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.137, allocations: 4 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001048/1.137, allocations: 87.66 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002642/1.137, allocations: 458.8 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/1.137, allocations: 85.09 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/1.137, allocations: 3.062 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.137, allocations: 15.98 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/1.137, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/1.137, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.262e-05/1.137, allocations: 87.08 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007361/1.138, allocations: 15.91 kB / 1.019 GB, free: 0.9531 MB / 0.6355 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.0001438/1.138, allocations: 99.25 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.139, allocations: 31.31 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.139, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/1.139, allocations: 18.92 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/1.139, allocations: 7.875 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/1.139, allocations: 63.61 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.139, allocations: 0.6954 MB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/1.139, allocations: 112 / 1.02 GB, free: 16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)