Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [: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.7392/0.7392, allocations: 141.8 MB / 149.1 MB, free: 4.043 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.001313/0.001312, allocations: 186.8 kB / 181.9 MB, free: 15.8 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.386/1.386, allocations: 221.4 MB / 436 MB, free: 9.027 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.0009479/0.0009481, allocations: 94.55 kB / 0.507 GB, free: 24.11 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001846, allocations: 284.8 kB / 0.5884 GB, free: 11.98 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.145e-05, allocations: 4 kB / 0.6759 GB, free: 2.332 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4018, allocations: 82.77 MB / 0.7567 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.5239, allocations: 108.7 MB / 0.8629 GB, free: 3.793 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5242, allocations: 88.75 kB / 0.8629 GB, free: 3.711 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.008837/0.5331, allocations: 2.92 MB / 0.8658 GB, free: 0.8281 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5331, allocations: 0 / 0.8658 GB, free: 0.8281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003533/0.5335, allocations: 433.5 kB / 0.8662 GB, free: 356 kB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5336, allocations: 9.281 kB / 0.8662 GB, free: 348 kB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.5336, allocations: 8.562 kB / 0.8662 GB, free: 340 kB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5338, allocations: 179.1 kB / 0.8664 GB, free: 120 kB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5338, allocations: 0 / 0.8664 GB, free: 120 kB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.5338, allocations: 7.906 kB / 0.8664 GB, free: 112 kB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/0.5339, allocations: 59.97 kB / 0.8665 GB, free: 52 kB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.5342, allocations: 93.72 kB / 0.8665 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5342, allocations: 0 / 0.8665 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.5342, allocations: 4.938 kB / 0.8665 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5342, allocations: 0 / 0.8665 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.5344, allocations: 162.1 kB / 0.8667 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.5345, allocations: 86.47 kB / 0.8668 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.5346, allocations: 64.91 kB / 0.8668 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.5346, allocations: 0 / 0.8668 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5347, allocations: 34.56 kB / 0.8669 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5347, allocations: 0 / 0.8669 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0003618/0.535, allocations: 169.5 kB / 0.867 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5351, allocations: 81.09 kB / 0.8671 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.5352, allocations: 127.5 kB / 0.8672 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5353, allocations: 29.69 kB / 0.8673 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.5353, allocations: 88.05 kB / 0.8674 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.5353, allocations: 11.91 kB / 0.8674 GB, free: 15 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.5354, allocations: 0 / 0.8674 GB, free: 15 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5355, allocations: 322.7 kB / 0.8677 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.5356, allocations: 99.94 kB / 0.8678 GB, free: 14.58 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5358, allocations: 108.5 kB / 0.8679 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.536, allocations: 108.6 kB / 0.868 GB, free: 14.37 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.536, allocations: 0 / 0.868 GB, free: 14.37 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003923/0.5364, allocations: 266.1 kB / 0.8682 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5364, allocations: 6.969 kB / 0.8682 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.5364, allocations: 0 / 0.8682 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5365, allocations: 0 / 0.8682 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.5365, allocations: 0 / 0.8682 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5365, allocations: 4 kB / 0.8682 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.5366, allocations: 19.91 kB / 0.8683 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.5366, allocations: 4 kB / 0.8683 GB, free: 14.07 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001206/0.5367, allocations: 134.7 kB / 0.8684 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.5368, allocations: 7.906 kB / 0.8684 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.5368, allocations: 8.125 kB / 0.8684 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5368, allocations: 3.984 kB / 0.8684 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5368, allocations: 0 / 0.8684 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5368, allocations: 3.906 kB / 0.8684 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.537, allocations: 154.2 kB / 0.8686 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.537, allocations: 5.781 kB / 0.8686 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.537, allocations: 0 / 0.8686 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.537, allocations: 0 / 0.8686 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.537, allocations: 4 kB / 0.8686 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.537, allocations: 0 / 0.8686 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.537, allocations: 3.938 kB / 0.8686 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002889/0.5373, allocations: 200.8 kB / 0.8688 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.5374, allocations: 85.02 kB / 0.8688 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.5374, allocations: 4.031 kB / 0.8689 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.5375, allocations: 8 kB / 0.8689 GB, free: 13.37 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.5375, allocations: 7.984 kB / 0.8689 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.5376, allocations: 0 / 0.8689 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of sort global known variables: time 7.715e-05/0.5376, allocations: 103.3 kB / 0.869 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003186/0.538, allocations: 75.86 kB / 0.869 GB, free: 13.19 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: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000338/0.5383, allocations: 163 kB / 0.8692 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.5386, allocations: 251.2 kB / 0.8694 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5386, allocations: 0 / 0.8694 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.5388, allocations: 109.7 kB / 0.8695 GB, free: 12.65 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5389, allocations: 8.562 kB / 0.8695 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.5393, allocations: 151.6 kB / 0.8697 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.5396, allocations: 0.7032 MB / 0.8704 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of SimCode: time 3.31e-07/0.5396, allocations: 0 / 0.8704 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of Templates: time 0.004467/0.544, allocations: 1.708 MB / 0.872 GB, free: 10.07 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)