Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.001246/0.001246, allocations: 187 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6865/0.6865, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.39 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1696/0.1707, allocations: 78.46 MB / 494 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.558, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.678, allocations: 101.6 MB / 0.6522 GB, free: 8.469 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.6783, allocations: 85.22 kB / 0.6523 GB, free: 8.387 MB / 474.7 MB 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.01077/0.689, allocations: 3.338 MB / 0.6555 GB, free: 5.039 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.6891, allocations: 11.98 kB / 0.6555 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.6892, allocations: 8.438 kB / 0.6555 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6893, allocations: 172.7 kB / 0.6557 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6894, allocations: 0 / 0.6557 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.6894, allocations: 4.812 kB / 0.6557 GB, free: 4.809 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001438/0.6895, allocations: 67.89 kB / 0.6558 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.6897, allocations: 90.5 kB / 0.6559 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.6897, allocations: 0 / 0.6559 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6897, allocations: 11.23 kB / 0.6559 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.6897, allocations: 3.906 kB / 0.6559 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.6899, allocations: 154.2 kB / 0.656 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.69, allocations: 82.53 kB / 0.6561 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.6901, allocations: 72.89 kB / 0.6562 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.6902, allocations: 3.188 kB / 0.6562 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.6902, allocations: 32.06 kB / 0.6562 GB, free: 4.246 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.6902, allocations: 3.938 kB / 0.6562 GB, free: 4.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003328/0.6905, allocations: 170 kB / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.6906, allocations: 81.67 kB / 0.6564 GB, free: 3.973 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.6907, allocations: 131.7 kB / 0.6566 GB, free: 3.836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6908, allocations: 29.7 kB / 0.6566 GB, free: 3.801 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.6908, allocations: 84.77 kB / 0.6567 GB, free: 3.715 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.6908, allocations: 12.41 kB / 0.6567 GB, free: 3.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.6908, allocations: 0.5312 kB / 0.6567 GB, free: 3.703 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.691, allocations: 323.5 kB / 0.657 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.6911, allocations: 99.94 kB / 0.6571 GB, free: 3.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.6913, allocations: 100.5 kB / 0.6572 GB, free: 3.184 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.6915, allocations: 106.9 kB / 0.6573 GB, free: 3.082 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6915, allocations: 0 / 0.6573 GB, free: 3.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004325/0.6919, allocations: 265.3 kB / 0.6575 GB, free: 2.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.692, allocations: 4.5 kB / 0.6575 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.692, allocations: 0.625 kB / 0.6575 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.692, allocations: 4 kB / 0.6575 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.692, allocations: 1.469 kB / 0.6576 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.692, allocations: 3.906 kB / 0.6576 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.6921, allocations: 9.625 kB / 0.6576 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.6921, allocations: 8.547 kB / 0.6576 GB, free: 2.789 MB / 474.7 MB 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 9.682e-05/0.6922, allocations: 139.3 kB / 0.6577 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.6923, allocations: 7.906 kB / 0.6577 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.6923, allocations: 12.12 kB / 0.6577 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6923, allocations: 0 / 0.6577 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6923, allocations: 3.984 kB / 0.6577 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6923, allocations: 3.938 kB / 0.6577 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6924, allocations: 150.1 kB / 0.6579 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6924, allocations: 0 / 0.6579 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.6924, allocations: 0 / 0.6579 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6924, allocations: 0 / 0.6579 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6924, allocations: 4 kB / 0.6579 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6925, allocations: 12.45 kB / 0.6579 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6925, allocations: 0 / 0.6579 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002786/0.6927, allocations: 200.9 kB / 0.6581 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000378/0.6931, allocations: 0.5676 MB / 0.6586 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.6932, allocations: 85.02 kB / 0.6587 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.6932, allocations: 4.062 kB / 0.6587 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.6933, allocations: 4 kB / 0.6587 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.6934, allocations: 7.984 kB / 0.6587 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.6934, allocations: 4 kB / 0.6587 GB, free: 1.484 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.132e-05/0.6934, allocations: 106.5 kB / 0.6588 GB, free: 1.383 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009464/0.6944, allocations: 67.92 kB / 0.6589 GB, free: 1.316 MB / 474.7 MB 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.0003621/0.6948, allocations: 163.1 kB / 0.6591 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.6951, allocations: 255.2 kB / 0.6593 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6951, allocations: 0 / 0.6593 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.6952, allocations: 109.7 kB / 0.6594 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.6954, allocations: 6.656 kB / 0.6594 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.6957, allocations: 159.4 kB / 0.6596 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.6961, allocations: 0.7032 MB / 0.6603 GB, free: 15.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6961, allocations: 0 / 0.6603 GB, free: 15.86 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)