Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_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.001235/0.001235, allocations: 189.3 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4846/0.4846, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.399/1.399, allocations: 221.4 MB / 342.8 MB, free: 5.281 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.0009331/0.0009331, allocations: 97.36 kB / 415.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.1736, allocations: 78.46 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.6136, allocations: 72.3 MB / 0.553 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.7315, allocations: 100.4 MB / 0.651 GB, free: 9.664 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.7317, allocations: 80.53 kB / 0.6511 GB, free: 9.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004145/0.7359, allocations: 1.304 MB / 0.6524 GB, free: 8.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7359, allocations: 8 kB / 0.6524 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.736, allocations: 0.9062 kB / 0.6524 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.7362, allocations: 178.9 kB / 0.6526 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7362, allocations: 0.5938 kB / 0.6526 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.7362, allocations: 3.938 kB / 0.6526 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.157e-05/0.7363, allocations: 16.84 kB / 0.6526 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.7364, allocations: 49.58 kB / 0.6526 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7364, allocations: 1.594 kB / 0.6526 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.7364, allocations: 0 / 0.6526 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.7364, allocations: 3.438 kB / 0.6526 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.7368, allocations: 307.2 kB / 0.6529 GB, free: 7.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/0.7369, allocations: 30.47 kB / 0.6529 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.7369, allocations: 22.16 kB / 0.653 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.7369, allocations: 0 / 0.653 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.737, allocations: 35.19 kB / 0.653 GB, free: 7.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.737, allocations: 0.7188 kB / 0.653 GB, free: 7.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.01988/0.7569, allocations: 1.27 MB / 0.6542 GB, free: 6.254 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7569, allocations: 55.41 kB / 0.6543 GB, free: 6.188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.757, allocations: 104.9 kB / 0.6544 GB, free: 6.078 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.7571, allocations: 31.56 kB / 0.6544 GB, free: 6.043 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.7572, allocations: 88.08 kB / 0.6545 GB, free: 5.953 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.7573, allocations: 23.62 kB / 0.6545 GB, free: 5.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.7573, allocations: 0 / 0.6545 GB, free: 5.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.7575, allocations: 318.8 kB / 0.6548 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.7579, allocations: 112 kB / 0.6549 GB, free: 5.496 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.7583, allocations: 112 kB / 0.6551 GB, free: 5.387 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.7591, allocations: 175.8 kB / 0.6552 GB, free: 5.215 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7591, allocations: 0 / 0.6552 GB, free: 5.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001432/0.7605, allocations: 339 kB / 0.6555 GB, free: 4.879 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7605, allocations: 4 kB / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7605, allocations: 0 / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7606, allocations: 0 / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.7624, allocations: 71.94 kB / 0.6556 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7624, allocations: 0 / 0.6556 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.7639, allocations: 59.84 kB / 0.6557 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.764, allocations: 8 kB / 0.6557 GB, free: 4.738 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: 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.0001906/0.7642, allocations: 101 kB / 0.6558 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.7643, allocations: 11.84 kB / 0.6558 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.7646, allocations: 28.36 kB / 0.6558 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7646, allocations: 1.312 kB / 0.6558 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7646, allocations: 1.781 kB / 0.6558 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7646, allocations: 4 kB / 0.6558 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006412/0.771, allocations: 0.8454 MB / 0.6566 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.771, allocations: 8 kB / 0.6567 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.7723, allocations: 63.94 kB / 0.6567 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7723, allocations: 0 / 0.6567 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.7724, allocations: 13.27 kB / 0.6567 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7724, allocations: 4 kB / 0.6567 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7724, allocations: 0 / 0.6567 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001169/0.7736, allocations: 345.3 kB / 0.6571 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001243/0.7749, allocations: 0.7117 MB / 0.6578 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7749, allocations: 85.09 kB / 0.6578 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.775, allocations: 3.906 kB / 0.6578 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7762, allocations: 54.58 kB / 0.6579 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.7762, allocations: 3.984 kB / 0.6579 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.7763, allocations: 8 kB / 0.6579 GB, free: 2.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.073e-05/0.7764, allocations: 92.91 kB / 0.658 GB, free: 2.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001033/0.7774, allocations: 103.9 kB / 0.6581 GB, free: 2.129 MB / 474.7 MB 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.0002422/0.7776, allocations: 125.3 kB / 0.6582 GB, free: 1.996 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.7784, allocations: 185.7 kB / 0.6584 GB, free: 1.816 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7785, allocations: 0 / 0.6584 GB, free: 1.816 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.7788, allocations: 67.98 kB / 0.6585 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.779, allocations: 8 kB / 0.6585 GB, free: 1.742 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.7823, allocations: 350.5 kB / 0.6588 GB, free: 1.371 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/0.7831, allocations: 0.7737 MB / 0.6596 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7831, allocations: 0 / 0.6596 GB, free: 0.5703 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)