Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.443/2.443, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001837/0.001837, allocations: 183.5 kB / 360.3 MB, free: 7.578 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.742/1.742, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001243/0.001242, allocations: 83.08 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2893/0.2906, allocations: 121.4 MB / 0.8502 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.9225, allocations: 115.2 MB / 0.9627 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/1.137, allocations: 136.3 MB / 1.096 GB, free: 4.605 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.137, allocations: 69.16 kB / 1.096 GB, free: 4.539 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.0007953/1.138, allocations: 369.7 kB / 1.096 GB, free: 4.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.138, allocations: 8.5 kB / 1.096 GB, free: 4.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/1.138, allocations: 4 kB / 1.096 GB, free: 4.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.138, allocations: 159.6 kB / 1.096 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/1.138, allocations: 11.55 kB / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/1.138, allocations: 3.281 kB / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.246e-05/1.138, allocations: 0 / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.287e-05/1.138, allocations: 29.7 kB / 1.096 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.138, allocations: 0 / 1.096 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/1.138, allocations: 0 / 1.096 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.138, allocations: 0.9844 kB / 1.096 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/1.138, allocations: 122.2 kB / 1.097 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/1.138, allocations: 28.42 kB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/1.138, allocations: 8.953 kB / 1.097 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/1.138, allocations: 0 / 1.097 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.138, allocations: 34.47 kB / 1.097 GB, free: 3.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/1.138, allocations: 0 / 1.097 GB, free: 3.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/1.139, allocations: 33.69 kB / 1.097 GB, free: 3.609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.139, allocations: 52.56 kB / 1.097 GB, free: 3.547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/1.139, allocations: 85 kB / 1.097 GB, free: 3.457 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.139, allocations: 31.52 kB / 1.097 GB, free: 3.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/1.139, allocations: 80.14 kB / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/1.139, allocations: 0 / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/1.139, allocations: 0 / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.139, allocations: 315.9 kB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/1.139, allocations: 3.938 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/1.139, allocations: 1.906 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/1.139, allocations: 4 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.139, allocations: 3.906 kB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.989e-05/1.139, allocations: 29.7 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.139, allocations: 10.11 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.139, allocations: 0 / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.139, allocations: 0 / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/1.139, allocations: 7.328 kB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/1.139, allocations: 5.5 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/1.139, allocations: 2.391 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/1.139, allocations: 0 / 1.097 GB, free: 2.961 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 9.818e-05/1.139, allocations: 104.8 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/1.139, allocations: 8.438 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/1.139, allocations: 3 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.139, allocations: 1.719 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.139, allocations: 0.8438 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.139, allocations: 0 / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/1.14, allocations: 126.8 kB / 1.097 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.14, allocations: 0 / 1.097 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/1.14, allocations: 8.438 kB / 1.097 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.14, allocations: 1.344 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.14, allocations: 5.469 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.14, allocations: 0.5625 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.14, allocations: 0 / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.218e-05/1.14, allocations: 58.73 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002163/1.14, allocations: 439.6 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/1.14, allocations: 80.7 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/1.14, allocations: 0 / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/1.14, allocations: 0.6875 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/1.14, allocations: 12.48 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/1.14, allocations: 0.6562 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.998e-05/1.14, allocations: 76 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001523/1.142, allocations: 4.438 kB / 1.098 GB, free: 1.961 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.000187/1.142, allocations: 91.91 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/1.142, allocations: 4.625 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.142, allocations: 0.7188 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/1.142, allocations: 4.875 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/1.142, allocations: 0 / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/1.143, allocations: 47.8 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.143, allocations: 0.6879 MB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of SimCode: time 2.865e-06/1.143, allocations: 0.6875 kB / 1.099 GB, free: 1.074 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)