Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.005149/0.005149, allocations: 178.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8857/0.8857, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 395 MB, free: 10.22 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.0009729/0.0009727, allocations: 96.52 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4736/0.4746, allocations: 88.44 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.6676, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6145/1.282, allocations: 110.2 MB / 0.7409 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.282, allocations: 74.3 kB / 0.741 GB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004/1.286, allocations: 1.309 MB / 0.7423 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.286, allocations: 8.516 kB / 0.7423 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/1.287, allocations: 3.875 kB / 0.7423 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.287, allocations: 176 kB / 0.7424 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.287, allocations: 2.406 kB / 0.7424 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/1.287, allocations: 3.875 kB / 0.7424 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.215e-05/1.287, allocations: 12.69 kB / 0.7425 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/1.287, allocations: 43.64 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.287, allocations: 7.844 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.287, allocations: 3.906 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.287, allocations: 0.7031 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/1.287, allocations: 297.7 kB / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/1.287, allocations: 39.69 kB / 0.7428 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/1.287, allocations: 20.69 kB / 0.7429 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/1.288, allocations: 4 kB / 0.7429 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/1.288, allocations: 31.27 kB / 0.7429 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.288, allocations: 0 / 0.7429 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.01865/1.306, allocations: 1.266 MB / 0.7441 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.306, allocations: 55.34 kB / 0.7442 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.306, allocations: 107.4 kB / 0.7443 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/1.306, allocations: 29.55 kB / 0.7443 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/1.307, allocations: 88.72 kB / 0.7444 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/1.307, allocations: 24.62 kB / 0.7444 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/1.307, allocations: 0 / 0.7444 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.307, allocations: 317.6 kB / 0.7447 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/1.307, allocations: 113.8 kB / 0.7448 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/1.307, allocations: 115.2 kB / 0.7449 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/1.308, allocations: 174 kB / 0.7451 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/1.308, allocations: 7.938 kB / 0.7451 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001231/1.309, allocations: 334 kB / 0.7454 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.309, allocations: 3.906 kB / 0.7454 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.309, allocations: 1.406 kB / 0.7454 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.309, allocations: 3.812 kB / 0.7454 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.311, allocations: 67.28 kB / 0.7455 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.311, allocations: 5.141 kB / 0.7455 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.313, allocations: 49.42 kB / 0.7456 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/1.313, allocations: 3.812 kB / 0.7456 GB, free: 25.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001786/1.313, allocations: 115.6 kB / 0.7457 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/1.313, allocations: 10.97 kB / 0.7457 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/1.313, allocations: 27.47 kB / 0.7457 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.313, allocations: 0 / 0.7457 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.313, allocations: 0 / 0.7457 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.313, allocations: 1.5 kB / 0.7457 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/1.319, allocations: 0.8296 MB / 0.7465 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.32, allocations: 0 / 0.7465 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.321, allocations: 62.92 kB / 0.7466 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.321, allocations: 5.906 kB / 0.7466 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/1.321, allocations: 1.406 kB / 0.7466 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.321, allocations: 3.906 kB / 0.7466 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.321, allocations: 3.906 kB / 0.7466 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001145/1.322, allocations: 353.7 kB / 0.7469 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001213/1.323, allocations: 0.7112 MB / 0.7476 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/1.323, allocations: 83.7 kB / 0.7477 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.323, allocations: 0 / 0.7477 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.324, allocations: 55.5 kB / 0.7478 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/1.324, allocations: 5.438 kB / 0.7478 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/1.325, allocations: 5.125 kB / 0.7478 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.73e-05/1.325, allocations: 99.44 kB / 0.7479 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001034/1.326, allocations: 101 kB / 0.748 GB, free: 23.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0002605/1.326, allocations: 120.8 kB / 0.7481 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007036/1.327, allocations: 186 kB / 0.7482 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.327, allocations: 4 kB / 0.7483 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/1.327, allocations: 73.91 kB / 0.7483 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.327, allocations: 0 / 0.7483 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/1.33, allocations: 354.5 kB / 0.7487 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000861/1.331, allocations: 0.7789 MB / 0.7494 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/1.331, allocations: 4 kB / 0.7494 GB, free: 22.89 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)