Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.7335/0.7335, allocations: 141.8 MB / 149.1 MB, free: 4.516 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.001084/0.001084, allocations: 190.4 kB / 181.9 MB, free: 180 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.3 MB / 436 MB, free: 9.301 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.001058/0.001058, allocations: 105.7 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 280.5 kB / 0.5884 GB, free: 12.32 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/0.1914, allocations: 89.64 MB / 0.676 GB, free: 2.598 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.544, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.6535, allocations: 107.9 MB / 0.8622 GB, free: 4.812 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.6538, allocations: 79.88 kB / 0.8623 GB, free: 4.738 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003623/0.6574, allocations: 1.391 MB / 0.8636 GB, free: 3.32 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6575, allocations: 8.5 kB / 0.8636 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.6575, allocations: 3.906 kB / 0.8636 GB, free: 3.309 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/0.6576, allocations: 171.6 kB / 0.8638 GB, free: 3.102 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.6576, allocations: 0.7188 kB / 0.8638 GB, free: 3.102 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6576, allocations: 0 / 0.8638 GB, free: 3.102 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.256e-05/0.6577, allocations: 12.66 kB / 0.8638 GB, free: 3.09 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.758e-05/0.6578, allocations: 39.19 kB / 0.8639 GB, free: 3.047 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.6578, allocations: 0 / 0.8639 GB, free: 3.047 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6578, allocations: 3.906 kB / 0.8639 GB, free: 3.043 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.6578, allocations: 0 / 0.8639 GB, free: 3.043 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.6581, allocations: 244.5 kB / 0.8641 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.6582, allocations: 23.64 kB / 0.8641 GB, free: 2.738 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.6582, allocations: 17.52 kB / 0.8641 GB, free: 2.719 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.6583, allocations: 81.61 kB / 0.8642 GB, free: 2.621 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.6583, allocations: 39.12 kB / 0.8642 GB, free: 2.574 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6583, allocations: 1.062 kB / 0.8642 GB, free: 2.574 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.6585, allocations: 37.7 kB / 0.8643 GB, free: 2.531 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.6585, allocations: 51.94 kB / 0.8643 GB, free: 2.469 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.225e-05/0.6586, allocations: 101.7 kB / 0.8644 GB, free: 2.363 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.6586, allocations: 26.23 kB / 0.8645 GB, free: 2.332 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.6586, allocations: 85.17 kB / 0.8645 GB, free: 2.246 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.6586, allocations: 3.906 kB / 0.8645 GB, free: 2.242 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6586, allocations: 0 / 0.8645 GB, free: 2.242 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.6587, allocations: 317 kB / 0.8648 GB, free: 1.926 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.6587, allocations: 5.594 kB / 0.8648 GB, free: 1.922 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.6587, allocations: 4 kB / 0.8649 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.6587, allocations: 11.98 kB / 0.8649 GB, free: 1.906 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6588, allocations: 4.656 kB / 0.8649 GB, free: 1.902 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.447e-05/0.6588, allocations: 46.36 kB / 0.8649 GB, free: 1.852 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.6589, allocations: 4 kB / 0.8649 GB, free: 1.848 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.6589, allocations: 0 / 0.8649 GB, free: 1.848 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6589, allocations: 1.312 kB / 0.8649 GB, free: 1.848 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.659, allocations: 16.77 kB / 0.8649 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.659, allocations: 0.75 kB / 0.8649 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.659, allocations: 12.8 kB / 0.8649 GB, free: 1.82 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.6591, allocations: 4 kB / 0.865 GB, free: 1.816 MB / 0.5263 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 (2): * Single equations (assignments): 2 * 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 4.059e-05/0.6591, allocations: 108.9 kB / 0.8651 GB, free: 1.703 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.6591, allocations: 0 / 0.8651 GB, free: 1.703 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.6592, allocations: 45 kB / 0.8651 GB, free: 1.656 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6592, allocations: 6.438 kB / 0.8651 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6593, allocations: 0 / 0.8651 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6593, allocations: 0 / 0.8651 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.6594, allocations: 142.1 kB / 0.8652 GB, free: 1.477 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6594, allocations: 12 kB / 0.8653 GB, free: 1.465 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.6594, allocations: 8 kB / 0.8653 GB, free: 1.457 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6595, allocations: 0 / 0.8653 GB, free: 1.457 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.6595, allocations: 4 kB / 0.8653 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6595, allocations: 3.359 kB / 0.8653 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6595, allocations: 0 / 0.8653 GB, free: 1.453 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.336e-05/0.6596, allocations: 143.5 kB / 0.8654 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001214/0.6597, allocations: 0.5115 MB / 0.8659 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.6597, allocations: 77.11 kB / 0.866 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.6598, allocations: 0 / 0.866 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.6598, allocations: 16.05 kB / 0.866 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.6599, allocations: 0 / 0.866 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.6599, allocations: 0 / 0.866 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.891e-05/0.6599, allocations: 83.53 kB / 0.8661 GB, free: 0.5742 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007984/0.6607, allocations: 23.83 kB / 0.8661 GB, free: 0.5508 MB / 0.5263 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 (2): * Single equations (assignments): 2 * 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.0001292/0.6609, allocations: 107.2 kB / 0.8662 GB, free: 448 kB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 6.203e-05/0.6609, allocations: 12 kB / 0.8662 GB, free: 436 kB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6609, allocations: 4.062 kB / 0.8662 GB, free: 432 kB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.661, allocations: 8 kB / 0.8662 GB, free: 424 kB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.6611, allocations: 5.5 kB / 0.8662 GB, free: 420 kB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.6613, allocations: 67.78 kB / 0.8663 GB, free: 328 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.6615, allocations: 0.688 MB / 0.867 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.6615, allocations: 0 / 0.867 GB, free: 15.6 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)