Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_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.001484/0.001484, allocations: 178.8 kB / 7.455 MB, free: 1.531 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9163/0.9163, allocations: 133.5 MB / 141.4 MB, free: 4.887 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 395 MB, free: 13.82 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009572, allocations: 104.5 kB / 477.8 MB, free: 11.11 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3795/0.3804, allocations: 88.45 MB / 0.5529 GB, free: 49.91 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/1.05, allocations: 82.29 MB / 0.6333 GB, free: 5.941 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/1.24, allocations: 110.2 MB / 0.7409 GB, free: 11.42 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.241, allocations: 79.95 kB / 0.741 GB, free: 11.34 MB / 0.5183 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.004286/1.245, allocations: 1.304 MB / 0.7422 GB, free: 9.996 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.245, allocations: 8 kB / 0.7423 GB, free: 9.988 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/1.245, allocations: 4 kB / 0.7423 GB, free: 9.984 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.245, allocations: 190.8 kB / 0.7424 GB, free: 9.758 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.245, allocations: 3.984 kB / 0.7424 GB, free: 9.754 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/1.245, allocations: 0 / 0.7424 GB, free: 9.754 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.488e-05/1.245, allocations: 12 kB / 0.7425 GB, free: 9.742 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.746e-05/1.246, allocations: 41.69 kB / 0.7425 GB, free: 9.695 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.246, allocations: 4 kB / 0.7425 GB, free: 9.691 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.246, allocations: 3.906 kB / 0.7425 GB, free: 9.688 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.246, allocations: 0 / 0.7425 GB, free: 9.688 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/1.246, allocations: 306.7 kB / 0.7428 GB, free: 9.332 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/1.246, allocations: 30.41 kB / 0.7428 GB, free: 9.297 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/1.246, allocations: 16.77 kB / 0.7428 GB, free: 9.277 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/1.246, allocations: 96 / 0.7428 GB, free: 9.277 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.246, allocations: 46.55 kB / 0.7429 GB, free: 9.223 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/1.246, allocations: 0 / 0.7429 GB, free: 9.223 MB / 0.5183 GB Notification: Performance of matching and sorting (n=8): time 0.01951/1.266, allocations: 1.258 MB / 0.7441 GB, free: 7.957 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.266, allocations: 55.41 kB / 0.7442 GB, free: 7.891 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/1.266, allocations: 108.9 kB / 0.7443 GB, free: 7.777 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/1.266, allocations: 29.7 kB / 0.7443 GB, free: 7.742 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/1.266, allocations: 88.06 kB / 0.7444 GB, free: 7.652 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/1.266, allocations: 23.62 kB / 0.7444 GB, free: 7.629 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/1.266, allocations: 0 / 0.7444 GB, free: 7.629 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.267, allocations: 318.8 kB / 0.7447 GB, free: 7.309 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/1.267, allocations: 112 kB / 0.7448 GB, free: 7.199 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/1.267, allocations: 114.4 kB / 0.7449 GB, free: 7.09 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/1.268, allocations: 171.8 kB / 0.7451 GB, free: 6.922 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.268, allocations: 0 / 0.7451 GB, free: 6.922 MB / 0.5183 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001341/1.269, allocations: 341.4 kB / 0.7454 GB, free: 6.582 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.269, allocations: 7.984 kB / 0.7454 GB, free: 6.574 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.269, allocations: 0 / 0.7454 GB, free: 6.574 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.269, allocations: 0 / 0.7454 GB, free: 6.574 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.271, allocations: 71.94 kB / 0.7455 GB, free: 6.504 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.271, allocations: 0 / 0.7455 GB, free: 6.504 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.273, allocations: 51.94 kB / 0.7455 GB, free: 6.453 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/1.273, allocations: 4.656 kB / 0.7455 GB, free: 6.449 MB / 0.5183 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.0002186/1.273, allocations: 119.6 kB / 0.7457 GB, free: 6.328 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.273, allocations: 7.906 kB / 0.7457 GB, free: 6.32 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/1.273, allocations: 28.38 kB / 0.7457 GB, free: 6.289 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.273, allocations: 3.984 kB / 0.7457 GB, free: 6.285 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.273, allocations: 0 / 0.7457 GB, free: 6.285 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.273, allocations: 0 / 0.7457 GB, free: 6.285 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/1.28, allocations: 0.8379 MB / 0.7465 GB, free: 5.402 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.28, allocations: 0 / 0.7465 GB, free: 5.402 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.281, allocations: 64 kB / 0.7466 GB, free: 5.34 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.281, allocations: 3.938 kB / 0.7466 GB, free: 5.336 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/1.281, allocations: 4.062 kB / 0.7466 GB, free: 5.332 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.281, allocations: 4 kB / 0.7466 GB, free: 5.328 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.281, allocations: 7.844 kB / 0.7466 GB, free: 5.32 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001172/1.282, allocations: 348.5 kB / 0.7469 GB, free: 4.945 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001198/1.283, allocations: 0.712 MB / 0.7476 GB, free: 4.195 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/1.284, allocations: 85.09 kB / 0.7477 GB, free: 4.094 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/1.284, allocations: 0 / 0.7477 GB, free: 4.094 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.285, allocations: 51.8 kB / 0.7478 GB, free: 4.043 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/1.285, allocations: 11.98 kB / 0.7478 GB, free: 4.031 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/1.285, allocations: 7.984 kB / 0.7478 GB, free: 4.023 MB / 0.5183 GB Notification: Performance of sort global known variables: time 6.779e-05/1.285, allocations: 87.28 kB / 0.7479 GB, free: 3.938 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.0009809/1.286, allocations: 103.9 kB / 0.748 GB, free: 3.836 MB / 0.5183 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.0002862/1.286, allocations: 127.2 kB / 0.7481 GB, free: 3.703 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.000776/1.287, allocations: 183.9 kB / 0.7483 GB, free: 3.523 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.287, allocations: 0 / 0.7483 GB, free: 3.523 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.287, allocations: 71.98 kB / 0.7483 GB, free: 3.453 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/1.287, allocations: 0 / 0.7483 GB, free: 3.453 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/1.291, allocations: 356.8 kB / 0.7487 GB, free: 3.074 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008642/1.292, allocations: 0.7737 MB / 0.7494 GB, free: 2.273 MB / 0.5183 GB Notification: Performance of SimCode: time 1.222e-06/1.292, allocations: 0 / 0.7494 GB, free: 2.273 MB / 0.5183 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)