Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [: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.48/1.48, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001112/0.001112, allocations: 181.3 kB / 366.3 MB, free: 1.977 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.398/1.398, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0009578/0.0009577, allocations: 86.81 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.418e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5496, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.7121, allocations: 138.1 MB / 1.107 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.7124, allocations: 89.27 kB / 1.107 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002045/0.7144, allocations: 0.5205 MB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7144, allocations: 0 / 1.108 GB, free: 9.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002006/0.7147, allocations: 319 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.7147, allocations: 8.031 kB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.7147, allocations: 4.531 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.7148, allocations: 163.6 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.7148, allocations: 0 / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.7149, allocations: 1.594 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.118e-05/0.7149, allocations: 4 kB / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.541e-05/0.715, allocations: 37.62 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.715, allocations: 0 / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.715, allocations: 0.5938 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.715, allocations: 0.6562 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.7152, allocations: 138.8 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.7153, allocations: 35.72 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.7153, allocations: 4.859 kB / 1.109 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.7155, allocations: 81.11 kB / 1.109 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7155, allocations: 34.64 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.7155, allocations: 0 / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.002537/0.7181, allocations: 373.2 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.7181, allocations: 51.41 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.7181, allocations: 85 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7182, allocations: 25.7 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.7182, allocations: 80.14 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.7182, allocations: 11.81 kB / 1.109 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7183, allocations: 0 / 1.109 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7184, allocations: 318.8 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.7184, allocations: 11.94 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.7185, allocations: 26.58 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.7186, allocations: 23.91 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.7186, allocations: 0 / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.7188, allocations: 65.58 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7188, allocations: 8.094 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7188, allocations: 3.938 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.7188, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.7192, allocations: 53.38 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7193, allocations: 0 / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.7196, allocations: 43.97 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.7196, allocations: 4 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.185e-05/0.7197, allocations: 101 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.7197, allocations: 3.906 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.7201, allocations: 111.2 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7202, allocations: 4 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7202, allocations: 0 / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7202, allocations: 0 / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.7206, allocations: 287 kB / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7206, allocations: 0 / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.721, allocations: 52.62 kB / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.721, allocations: 0 / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.721, allocations: 0 / 1.11 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.721, allocations: 3.938 kB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.721, allocations: 320 / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002663/0.7213, allocations: 171.4 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.7214, allocations: 77.11 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.7214, allocations: 1.031 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.7218, allocations: 43.97 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.7218, allocations: 3.906 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7218, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.803e-05/0.7219, allocations: 75.28 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002324/0.7221, allocations: 11.94 kB / 1.111 GB, free: 6.602 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 0.0001499/0.7222, allocations: 109.7 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.7224, allocations: 31.94 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.7224, allocations: 0 / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.7225, allocations: 23.92 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.7226, allocations: 0.6562 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.7232, allocations: 104 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.7235, allocations: 0.688 MB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7235, allocations: 0 / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.003087/0.7266, allocations: 1.326 MB / 1.113 GB, free: 4.293 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)