Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.375/1.375, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.0009928/0.0009928, allocations: 184.8 kB / 366.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0007962/0.0007962, allocations: 85.11 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1946/0.1954, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.6437, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.7918, allocations: 138.8 MB / 1.108 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.7921, allocations: 79.94 kB / 1.108 GB, free: 9.637 MB / 0.7136 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.007553/0.7996, allocations: 2.708 MB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.7997, allocations: 8 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.7997, allocations: 7.906 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.7999, allocations: 167 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.7999, allocations: 4 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7999, allocations: 0 / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.987e-05/0.8, allocations: 23.88 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.8001, allocations: 66.8 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.8001, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.8001, allocations: 4 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.8001, allocations: 0 / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.8004, allocations: 241.4 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.8005, allocations: 38.58 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.8005, allocations: 12.86 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.8005, allocations: 0 / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/0.8006, allocations: 55.48 kB / 1.112 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8006, allocations: 4 kB / 1.112 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001369/0.8008, allocations: 53.62 kB / 1.112 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.8008, allocations: 106.7 kB / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.8009, allocations: 101 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.8009, allocations: 25.7 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.8009, allocations: 84.14 kB / 1.112 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.801, allocations: 15.83 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.801, allocations: 0 / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.8011, allocations: 310.8 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.8011, allocations: 12 kB / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.8012, allocations: 30.58 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.8012, allocations: 12.02 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8012, allocations: 0 / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.787e-05/0.8013, allocations: 61.53 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8013, allocations: 8 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8013, allocations: 3.938 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.8013, allocations: 0 / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.8014, allocations: 4 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.8014, allocations: 1.5 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8015, allocations: 15.98 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8016, allocations: 4 kB / 1.112 GB, free: 5.27 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 6.832e-05/0.8016, allocations: 104.9 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.8017, allocations: 8 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.8017, allocations: 3.688 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.8017, allocations: 0 / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8017, allocations: 8.328 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8017, allocations: 4 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.8018, allocations: 142.2 kB / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8018, allocations: 4 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.8018, allocations: 4 kB / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8019, allocations: 0 / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8019, allocations: 0 / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8019, allocations: 0 / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8019, allocations: 0 / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001059/0.802, allocations: 90.55 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001806/0.8022, allocations: 465.5 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.8022, allocations: 89 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.8023, allocations: 0 / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.8024, allocations: 15.98 kB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.8024, allocations: 11.98 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.8024, allocations: 0 / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.541e-05/0.8025, allocations: 83.28 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007339/0.8032, allocations: 12 kB / 1.113 GB, free: 4.137 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.0001177/0.8033, allocations: 103.2 kB / 1.113 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.8034, allocations: 27.98 kB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8034, allocations: 4 kB / 1.113 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.8035, allocations: 12 kB / 1.113 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.8036, allocations: 7.906 kB / 1.113 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.8038, allocations: 82.8 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.8041, allocations: 0.6954 MB / 1.114 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8041, allocations: 0 / 1.114 GB, free: 3.152 MB / 0.7136 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)