Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.277/1.277, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.001017/0.001017, allocations: 188.3 kB / 316 MB, free: 3.523 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.251/1.251, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0009375/0.0009375, allocations: 90.44 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3619/0.3629, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.5289, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/1.015, allocations: 132.6 MB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.015, allocations: 74.08 kB / 1.014 GB, free: 6.156 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.00756/1.023, allocations: 2.711 MB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.023, allocations: 8 kB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/1.023, allocations: 4 kB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.023, allocations: 171 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.023, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/1.023, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.895e-05/1.023, allocations: 11.06 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.023, allocations: 79.11 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/1.023, allocations: 3.938 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.023, allocations: 0 / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.023, allocations: 0 / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/1.024, allocations: 235.8 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/1.024, allocations: 41.25 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/1.024, allocations: 16.36 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.024, allocations: 0 / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.978e-05/1.024, allocations: 57.75 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/1.024, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001472/1.024, allocations: 55.97 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.024, allocations: 102.8 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/1.024, allocations: 100.6 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.024, allocations: 29.7 kB / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/1.024, allocations: 83.52 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/1.024, allocations: 11.75 kB / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/1.024, allocations: 0 / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.024, allocations: 322.7 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/1.024, allocations: 4 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/1.025, allocations: 29.33 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/1.025, allocations: 19.59 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.025, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.641e-05/1.025, allocations: 53.72 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.025, allocations: 6.188 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.025, allocations: 448 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.025, allocations: 3.906 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/1.025, allocations: 11.98 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/1.025, allocations: 0 / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/1.025, allocations: 19.98 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/1.025, allocations: 0 / 1.018 GB, free: 2.324 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 7.335e-05/1.025, allocations: 105 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/1.025, allocations: 3.906 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/1.025, allocations: 7.375 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.025, allocations: 11.88 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.025, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.025, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/1.025, allocations: 150 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.025, allocations: 7.906 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/1.025, allocations: 0 / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.025, allocations: 0 / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.025, allocations: 4 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.025, allocations: 0 / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.025, allocations: 0 / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.747e-05/1.025, allocations: 79.34 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002006/1.026, allocations: 475.6 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/1.026, allocations: 85.09 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/1.026, allocations: 0 / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.026, allocations: 11.98 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/1.026, allocations: 3.75 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/1.026, allocations: 8 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.45e-05/1.026, allocations: 83.27 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007513/1.027, allocations: 11.91 kB / 1.019 GB, free: 1.227 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.0001419/1.027, allocations: 102.3 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/1.027, allocations: 26.56 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.027, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/1.027, allocations: 23.53 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/1.027, allocations: 12.03 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/1.027, allocations: 59.23 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/1.028, allocations: 0.6954 MB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/1.028, allocations: 0 / 1.02 GB, free: 280 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)