Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003736/0.003736, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.666/0.666, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 391.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008986, allocations: 108.6 kB / 473.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/9.007e-06, allocations: 3.438 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5001/0.6553, allocations: 111.1 MB / 0.7361 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.6557, allocations: 87.17 kB / 0.7362 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009268/0.665, allocations: 2.909 MB / 0.739 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.665, allocations: 0 / 0.739 GB, free: 11.34 MB / 0.4948 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.0004086/0.6654, allocations: 433.1 kB / 0.7394 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6655, allocations: 7.844 kB / 0.7394 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.6655, allocations: 7.812 kB / 0.7394 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.6657, allocations: 179.6 kB / 0.7396 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.6657, allocations: 3.875 kB / 0.7396 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.6657, allocations: 0 / 0.7396 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/0.6658, allocations: 64.48 kB / 0.7397 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.666, allocations: 100.9 kB / 0.7398 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.666, allocations: 0 / 0.7398 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.666, allocations: 0 / 0.7398 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.666, allocations: 4 kB / 0.7398 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.6662, allocations: 159.7 kB / 0.7399 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.6663, allocations: 76.06 kB / 0.74 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.6664, allocations: 73.36 kB / 0.7401 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.6664, allocations: 3.938 kB / 0.7401 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6664, allocations: 31.92 kB / 0.7401 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.6664, allocations: 4 kB / 0.7401 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002938/0.6667, allocations: 167.9 kB / 0.7403 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.6668, allocations: 78.19 kB / 0.7403 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.6669, allocations: 135.9 kB / 0.7405 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6669, allocations: 25.7 kB / 0.7405 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.667, allocations: 89.66 kB / 0.7406 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.667, allocations: 9.266 kB / 0.7406 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.667, allocations: 0 / 0.7406 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6672, allocations: 321.4 kB / 0.7409 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.6673, allocations: 109.3 kB / 0.741 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6674, allocations: 95.2 kB / 0.7411 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.6676, allocations: 104.9 kB / 0.7412 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6676, allocations: 0.6562 kB / 0.7412 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003508/0.6679, allocations: 269.3 kB / 0.7414 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.668, allocations: 4.484 kB / 0.7415 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.668, allocations: 0.9375 kB / 0.7415 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.668, allocations: 0 / 0.7415 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.668, allocations: 4.625 kB / 0.7415 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.668, allocations: 0 / 0.7415 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.6681, allocations: 17.11 kB / 0.7415 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.6681, allocations: 4.312 kB / 0.7415 GB, free: 25.69 MB / 0.5105 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.0001074/0.6682, allocations: 140.3 kB / 0.7416 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.6683, allocations: 8.344 kB / 0.7416 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.6683, allocations: 8.109 kB / 0.7416 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6683, allocations: 0.5625 kB / 0.7416 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6683, allocations: 3.938 kB / 0.7416 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6683, allocations: 0 / 0.7416 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.6684, allocations: 154.9 kB / 0.7418 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6685, allocations: 0.5156 kB / 0.7418 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.6685, allocations: 0 / 0.7418 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6685, allocations: 4.516 kB / 0.7418 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6685, allocations: 3.875 kB / 0.7418 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6685, allocations: 4.656 kB / 0.7418 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6685, allocations: 0 / 0.7418 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002544/0.6688, allocations: 201.1 kB / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.6688, allocations: 94.25 kB / 0.7421 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.6689, allocations: 0 / 0.7421 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.6689, allocations: 5.031 kB / 0.7421 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.669, allocations: 5.172 kB / 0.7421 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.669, allocations: 5.406 kB / 0.7421 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.364e-05/0.6691, allocations: 105.6 kB / 0.7422 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003102/0.6694, allocations: 75 kB / 0.7423 GB, free: 25.09 MB / 0.5105 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.000351/0.6697, allocations: 159 kB / 0.7424 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.67, allocations: 244 kB / 0.7426 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.67, allocations: 3.875 kB / 0.7427 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.6702, allocations: 116 kB / 0.7428 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.6703, allocations: 0.7656 kB / 0.7428 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.6706, allocations: 154.9 kB / 0.7429 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.6709, allocations: 0.7012 MB / 0.7436 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6709, allocations: 0 / 0.7436 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.004756/0.6756, allocations: 1.694 MB / 0.7452 GB, free: 23.98 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)