Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime",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.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009815/0.0009817, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.126/1.126, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008614/0.0008616, allocations: 92.83 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.1985, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.6986, allocations: 115.3 MB / 0.9637 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.8515, allocations: 136.4 MB / 1.097 GB, free: 3.559 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.8518, allocations: 68.7 kB / 1.097 GB, free: 3.492 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006811/0.8525, allocations: 365.8 kB / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8526, allocations: 12.5 kB / 1.097 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.8526, allocations: 0.75 kB / 1.097 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.461e-05/0.8527, allocations: 159.1 kB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8527, allocations: 6.781 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.8527, allocations: 1.125 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.27e-05/0.8528, allocations: 0 / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.8529, allocations: 35 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.8529, allocations: 0 / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.8529, allocations: 0 / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8529, allocations: 1.906 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.853, allocations: 126.2 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.8531, allocations: 22.61 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.8531, allocations: 5.953 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.8531, allocations: 0.5312 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.8532, allocations: 38.38 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.8532, allocations: 2.078 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.8533, allocations: 29.7 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8533, allocations: 55.39 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.657e-05/0.8534, allocations: 89 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.8534, allocations: 29.7 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.8534, allocations: 80.8 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.8535, allocations: 0 / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.8535, allocations: 1.281 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8536, allocations: 310.8 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.8536, allocations: 1.438 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.8536, allocations: 0.5938 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.646e-05/0.8537, allocations: 9.594 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8537, allocations: 3.906 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.613e-05/0.8537, allocations: 29.7 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.8537, allocations: 4 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.8537, allocations: 0.625 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8538, allocations: 0.5938 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.8538, allocations: 7.984 kB / 1.098 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8538, allocations: 0.8438 kB / 1.098 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.8538, allocations: 8.109 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.8539, allocations: 0.5625 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.723e-05/0.8539, allocations: 105.5 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-06/0.8539, allocations: 4.469 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.854, allocations: 7.656 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.854, allocations: 2.125 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.854, allocations: 1.438 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.854, allocations: 0 / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.8541, allocations: 126.2 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.8541, allocations: 1.75 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.8541, allocations: 4 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.8541, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.8541, allocations: 4.938 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8541, allocations: 3.938 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8541, allocations: 0.5938 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.671e-05/0.8542, allocations: 55.14 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001409/0.8544, allocations: 440.7 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.8544, allocations: 77.8 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.8544, allocations: 0 / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.8544, allocations: 2.812 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.8544, allocations: 4.562 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-06/0.8544, allocations: 0 / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.644e-05/0.8545, allocations: 76 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007081/0.8552, allocations: 8.5 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001307/0.8553, allocations: 103.6 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.159e-05/0.8554, allocations: 4.719 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8554, allocations: 0.875 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.8554, allocations: 4 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.541e-05/0.8555, allocations: 0.5312 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.8556, allocations: 43.3 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.856, allocations: 0.6848 MB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.856, allocations: 0.5938 kB / 1.1 GB, free: 32 kB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)