Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7264/0.7264, allocations: 141.8 MB / 149.1 MB, free: 1.422 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 193.1 kB / 181.9 MB, free: 0.7148 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.3 MB / 436 MB, free: 5.516 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009471, allocations: 92.61 kB / 0.507 GB, free: 2.199 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 282.4 kB / 0.5884 GB, free: 47.21 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3208/0.3225, allocations: 89.61 MB / 0.676 GB, free: 59.56 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.452, allocations: 82.79 MB / 0.7568 GB, free: 0.5508 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.5815, allocations: 107.1 MB / 0.8614 GB, free: 5.297 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.5817, allocations: 73.98 kB / 0.8615 GB, free: 5.227 MB / 0.5419 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.0005878/0.5823, allocations: 362.5 kB / 0.8618 GB, free: 4.828 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5824, allocations: 8 kB / 0.8618 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.5824, allocations: 4 kB / 0.8618 GB, free: 4.816 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.5825, allocations: 159.1 kB / 0.862 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5825, allocations: 0 / 0.862 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.5825, allocations: 3.906 kB / 0.862 GB, free: 4.617 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.713e-05/0.5826, allocations: 4 kB / 0.862 GB, free: 4.613 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.414e-05/0.5826, allocations: 29.7 kB / 0.862 GB, free: 4.578 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5826, allocations: 3.938 kB / 0.862 GB, free: 4.574 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.5827, allocations: 7.875 kB / 0.862 GB, free: 4.566 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5827, allocations: 0 / 0.862 GB, free: 4.566 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.5828, allocations: 126.5 kB / 0.8621 GB, free: 4.406 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.5828, allocations: 14.58 kB / 0.8621 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.5829, allocations: 16.95 kB / 0.8622 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.5829, allocations: 0 / 0.8622 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5829, allocations: 30.56 kB / 0.8622 GB, free: 4.324 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.5829, allocations: 0 / 0.8622 GB, free: 4.324 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.583, allocations: 33.61 kB / 0.8622 GB, free: 4.285 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5831, allocations: 55.34 kB / 0.8623 GB, free: 4.219 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.406e-05/0.5831, allocations: 85 kB / 0.8624 GB, free: 4.129 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.5831, allocations: 25.7 kB / 0.8624 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.5832, allocations: 88.17 kB / 0.8625 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.5832, allocations: 3.938 kB / 0.8625 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5832, allocations: 0 / 0.8625 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.5833, allocations: 314.8 kB / 0.8628 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.5833, allocations: 4 kB / 0.8628 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.5833, allocations: 0 / 0.8628 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.675e-05/0.5834, allocations: 4 kB / 0.8628 GB, free: 3.68 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5834, allocations: 0 / 0.8628 GB, free: 3.68 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.8e-05/0.5834, allocations: 37.67 kB / 0.8628 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5834, allocations: 4 kB / 0.8628 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5834, allocations: 0 / 0.8628 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5835, allocations: 0 / 0.8628 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.5835, allocations: 4 kB / 0.8628 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5835, allocations: 0 / 0.8628 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.5835, allocations: 0 / 0.8628 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.5836, allocations: 4 kB / 0.8628 GB, free: 3.625 MB / 0.5419 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.512e-05/0.5836, allocations: 104.9 kB / 0.8629 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5837, allocations: 15.92 kB / 0.8629 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.5837, allocations: 3 kB / 0.8629 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.5837, allocations: 0 / 0.8629 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5837, allocations: 0 / 0.8629 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5837, allocations: 0 / 0.8629 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.587e-05/0.5838, allocations: 122.2 kB / 0.8631 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5838, allocations: 0 / 0.8631 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.5838, allocations: 7.938 kB / 0.8631 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.5838, allocations: 0 / 0.8631 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.5838, allocations: 0 / 0.8631 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.5838, allocations: 7.891 kB / 0.8631 GB, free: 3.324 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5838, allocations: 4 kB / 0.8631 GB, free: 3.32 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.8e-05/0.5839, allocations: 53.14 kB / 0.8631 GB, free: 3.25 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001564/0.5841, allocations: 449.3 kB / 0.8636 GB, free: 2.789 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.5841, allocations: 77.11 kB / 0.8636 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.5841, allocations: 4.062 kB / 0.8636 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.5841, allocations: 0 / 0.8636 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.5842, allocations: 7.984 kB / 0.8636 GB, free: 2.684 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.5842, allocations: 0 / 0.8636 GB, free: 2.684 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.241e-05/0.5842, allocations: 75.28 kB / 0.8637 GB, free: 2.609 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009231/0.5851, allocations: 0 / 0.8637 GB, free: 2.609 MB / 0.5419 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 8.702e-05/0.5852, allocations: 95.25 kB / 0.8638 GB, free: 2.504 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 4.705e-05/0.5853, allocations: 4 kB / 0.8638 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5853, allocations: 0 / 0.8638 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-06/0.5853, allocations: 4 kB / 0.8638 GB, free: 2.496 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.527e-05/0.5854, allocations: 7.891 kB / 0.8638 GB, free: 2.488 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001397/0.5855, allocations: 48.02 kB / 0.8639 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.5858, allocations: 0.6841 MB / 0.8645 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.5858, allocations: 0 / 0.8645 GB, free: 1.707 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)