Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 190.1 kB / 7.806 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5874/0.5874, allocations: 90.86 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.4 MB / 342.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 95.86 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.189/0.19, allocations: 78.45 MB / 494 MB, free: 7.961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.5705, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.6853, allocations: 101.1 MB / 0.6517 GB, free: 8.836 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.6856, allocations: 71.95 kB / 0.6518 GB, free: 8.766 MB / 474.7 MB 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.003587/0.6892, allocations: 1.153 MB / 0.6529 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6893, allocations: 12 kB / 0.6529 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.6893, allocations: 0 / 0.6529 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.6894, allocations: 167.8 kB / 0.6531 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.6895, allocations: 0 / 0.6531 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6895, allocations: 4.719 kB / 0.6531 GB, free: 7.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.891e-05/0.6896, allocations: 12 kB / 0.6531 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.702e-05/0.6896, allocations: 38.59 kB / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.6897, allocations: 0 / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6897, allocations: 2.625 kB / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6897, allocations: 0 / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.6901, allocations: 248.5 kB / 0.6534 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.6902, allocations: 31.39 kB / 0.6534 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.6902, allocations: 9.766 kB / 0.6534 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.6904, allocations: 81.11 kB / 0.6535 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.6904, allocations: 34.53 kB / 0.6535 GB, free: 6.855 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6904, allocations: 0 / 0.6535 GB, free: 6.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.6907, allocations: 58.33 kB / 0.6536 GB, free: 6.793 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.6908, allocations: 56.62 kB / 0.6537 GB, free: 6.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.6908, allocations: 93 kB / 0.6537 GB, free: 6.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.6909, allocations: 25.7 kB / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.6909, allocations: 88.66 kB / 0.6539 GB, free: 6.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.6909, allocations: 8.781 kB / 0.6539 GB, free: 6.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.6909, allocations: 0 / 0.6539 GB, free: 6.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6911, allocations: 311.8 kB / 0.6542 GB, free: 6.188 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.6911, allocations: 8 kB / 0.6542 GB, free: 6.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.6911, allocations: 5.219 kB / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.313e-05/0.6912, allocations: 15.98 kB / 0.6542 GB, free: 6.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6912, allocations: 1.781 kB / 0.6542 GB, free: 6.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001421/0.6914, allocations: 49.67 kB / 0.6542 GB, free: 6.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6914, allocations: 8 kB / 0.6542 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6914, allocations: 0 / 0.6542 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6914, allocations: 4.5 kB / 0.6543 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6916, allocations: 13.23 kB / 0.6543 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6916, allocations: 0.5312 kB / 0.6543 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.6916, allocations: 15.33 kB / 0.6543 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.6917, allocations: 3.938 kB / 0.6543 GB, free: 6.066 MB / 474.7 MB 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 6.644e-05/0.6917, allocations: 108.8 kB / 0.6544 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.6918, allocations: 4.438 kB / 0.6544 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.6919, allocations: 53.61 kB / 0.6544 GB, free: 5.895 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.692, allocations: 4.469 kB / 0.6544 GB, free: 5.891 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.692, allocations: 4.531 kB / 0.6544 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.692, allocations: 0 / 0.6544 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.6921, allocations: 138.8 kB / 0.6546 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6921, allocations: 6.031 kB / 0.6546 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.6922, allocations: 12.52 kB / 0.6546 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6922, allocations: 4.406 kB / 0.6546 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.6922, allocations: 0.5938 kB / 0.6546 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6922, allocations: 4 kB / 0.6546 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6922, allocations: 1.5 kB / 0.6546 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001777/0.6924, allocations: 148.2 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003065/0.6927, allocations: 0.5186 MB / 0.6553 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.6928, allocations: 89.02 kB / 0.6553 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.6928, allocations: 3.984 kB / 0.6553 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.6929, allocations: 11.98 kB / 0.6554 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.693, allocations: 0 / 0.6554 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.693, allocations: 0 / 0.6554 GB, free: 4.879 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.581e-05/0.693, allocations: 85.41 kB / 0.6554 GB, free: 4.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007945/0.6938, allocations: 8 kB / 0.6554 GB, free: 4.789 MB / 474.7 MB 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.0001997/0.694, allocations: 107.2 kB / 0.6555 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.6941, allocations: 15.94 kB / 0.6556 GB, free: 4.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6941, allocations: 0 / 0.6556 GB, free: 4.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.6942, allocations: 4 kB / 0.6556 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.6944, allocations: 7.906 kB / 0.6556 GB, free: 4.648 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.6947, allocations: 63.91 kB / 0.6556 GB, free: 4.562 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.6951, allocations: 0.6919 MB / 0.6563 GB, free: 3.844 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6951, allocations: 4 kB / 0.6563 GB, free: 3.84 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)