Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round",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.669/1.669, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001728/0.001728, allocations: 181.2 kB / 366.3 MB, free: 1.992 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.567/1.567, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009835/0.0009836, allocations: 88.39 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3346/0.3356, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/1.058, allocations: 116.3 MB / 0.9727 GB, free: 68.57 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/1.286, allocations: 137.7 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/1.286, allocations: 80.45 kB / 1.107 GB, free: 10.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001842/1.288, allocations: 0.6311 MB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.288, allocations: 8.625 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.288, allocations: 0 / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.288, allocations: 167.4 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/1.288, allocations: 8.562 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.288, allocations: 0.5312 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.324e-05/1.288, allocations: 4.75 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.288, allocations: 75.19 kB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.288, allocations: 3.938 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.288, allocations: 0 / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.288, allocations: 0 / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/1.288, allocations: 153.6 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/1.289, allocations: 99.75 kB / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/1.289, allocations: 32.42 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/1.289, allocations: 85.67 kB / 1.108 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.289, allocations: 42.48 kB / 1.108 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.289, allocations: 0 / 1.108 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0004941/1.289, allocations: 93.53 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/1.289, allocations: 162.3 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/1.29, allocations: 85 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/1.29, allocations: 27.02 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/1.29, allocations: 80.14 kB / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/1.29, allocations: 27.64 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.29, allocations: 0 / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.29, allocations: 310.8 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/1.29, allocations: 4 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/1.29, allocations: 36.3 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/1.29, allocations: 47.89 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.29, allocations: 0 / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003231/1.29, allocations: 109.4 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.291, allocations: 8 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.291, allocations: 0 / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/1.291, allocations: 0 / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/1.291, allocations: 8 kB / 1.109 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.291, allocations: 10.06 kB / 1.109 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/1.291, allocations: 0 / 1.109 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/1.291, allocations: 7.984 kB / 1.109 GB, free: 8.074 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.524e-05/1.291, allocations: 109.1 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/1.291, allocations: 7.906 kB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/1.291, allocations: 132.6 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.291, allocations: 4 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.291, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.291, allocations: 4 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/1.291, allocations: 142.1 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.291, allocations: 4 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/1.292, allocations: 15.94 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/1.292, allocations: 3.984 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.292, allocations: 8.156 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.292, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.292, allocations: 4 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004079/1.292, allocations: 207.1 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005454/1.293, allocations: 0.5716 MB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/1.293, allocations: 81.02 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/1.293, allocations: 8 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/1.293, allocations: 0 / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/1.293, allocations: 7.984 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.293, allocations: 11.98 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.984e-05/1.293, allocations: 75.28 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007697/1.294, allocations: 8 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001848/1.294, allocations: 115.1 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.819e-05/1.294, allocations: 31.94 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.294, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/1.294, allocations: 24.88 kB / 1.111 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/1.294, allocations: 10.42 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/1.294, allocations: 99.91 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.295, allocations: 0.6958 MB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/1.295, allocations: 4 kB / 1.112 GB, free: 5.457 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)