Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7124/0.7124, allocations: 141.8 MB / 149.1 MB, free: 11.92 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.7 kB / 182 MB, free: 8.648 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.4 MB / 436.1 MB, free: 0.9141 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 92.47 kB / 0.507 GB, free: 9.914 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 285.1 kB / 0.5885 GB, free: 6.715 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.1737, allocations: 89.64 MB / 0.676 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.5295, allocations: 82.78 MB / 0.7568 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.6338, allocations: 107.5 MB / 0.8618 GB, free: 30.22 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6341, allocations: 79.94 kB / 0.8619 GB, free: 30.15 MB / 0.5575 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.003992/0.6382, allocations: 1.305 MB / 0.8632 GB, free: 28.82 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6382, allocations: 9.625 kB / 0.8632 GB, free: 28.82 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.6383, allocations: 11.89 kB / 0.8632 GB, free: 28.8 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.6384, allocations: 175.7 kB / 0.8634 GB, free: 28.59 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.6384, allocations: 0 / 0.8634 GB, free: 28.59 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.6385, allocations: 4.75 kB / 0.8634 GB, free: 28.59 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.62e-05/0.6386, allocations: 15.98 kB / 0.8634 GB, free: 28.57 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.6387, allocations: 42.34 kB / 0.8634 GB, free: 28.53 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6387, allocations: 0.5625 kB / 0.8634 GB, free: 28.53 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6387, allocations: 0 / 0.8634 GB, free: 28.53 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6387, allocations: 4.719 kB / 0.8634 GB, free: 28.52 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.639, allocations: 303.3 kB / 0.8637 GB, free: 28.17 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.6391, allocations: 38.95 kB / 0.8638 GB, free: 28.13 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.6392, allocations: 9.422 kB / 0.8638 GB, free: 28.12 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.6392, allocations: 4.812 kB / 0.8638 GB, free: 28.11 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.6392, allocations: 31.06 kB / 0.8638 GB, free: 28.07 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.6392, allocations: 0 / 0.8638 GB, free: 28.07 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.01894/0.6582, allocations: 1.274 MB / 0.8651 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.6582, allocations: 51.41 kB / 0.8651 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.6583, allocations: 109 kB / 0.8652 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.6584, allocations: 29.7 kB / 0.8652 GB, free: 26.59 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.6584, allocations: 87.98 kB / 0.8653 GB, free: 26.5 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.6585, allocations: 23.7 kB / 0.8653 GB, free: 26.47 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.6586, allocations: 0 / 0.8653 GB, free: 26.47 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.6586, allocations: 322.8 kB / 0.8657 GB, free: 26.15 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.6589, allocations: 108 kB / 0.8658 GB, free: 26.04 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.6593, allocations: 112 kB / 0.8659 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.66, allocations: 176.4 kB / 0.866 GB, free: 25.76 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.66, allocations: 0 / 0.866 GB, free: 25.76 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001282/0.6613, allocations: 345.3 kB / 0.8664 GB, free: 25.42 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6613, allocations: 4 kB / 0.8664 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6613, allocations: 288 / 0.8664 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6614, allocations: 7.938 kB / 0.8664 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.6631, allocations: 75.92 kB / 0.8664 GB, free: 25.33 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6631, allocations: 0 / 0.8664 GB, free: 25.33 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6645, allocations: 55.89 kB / 0.8665 GB, free: 25.28 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.6646, allocations: 3.984 kB / 0.8665 GB, free: 25.27 MB / 0.5575 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.0001574/0.6648, allocations: 105 kB / 0.8666 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.6649, allocations: 11.89 kB / 0.8666 GB, free: 25.15 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.6651, allocations: 28.38 kB / 0.8666 GB, free: 25.12 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6651, allocations: 0 / 0.8666 GB, free: 25.12 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6651, allocations: 0 / 0.8666 GB, free: 25.12 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6652, allocations: 0 / 0.8666 GB, free: 25.12 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/0.6711, allocations: 0.8401 MB / 0.8675 GB, free: 24.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6711, allocations: 0 / 0.8675 GB, free: 24.23 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6723, allocations: 64 kB / 0.8675 GB, free: 24.17 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.6723, allocations: 3.984 kB / 0.8675 GB, free: 24.17 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.6724, allocations: 4 kB / 0.8675 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6724, allocations: 3.938 kB / 0.8675 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6724, allocations: 0 / 0.8675 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/0.6735, allocations: 356.3 kB / 0.8679 GB, free: 23.78 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001077/0.6746, allocations: 0.7137 MB / 0.8686 GB, free: 23.03 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.6746, allocations: 85.02 kB / 0.8687 GB, free: 22.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/0.6747, allocations: 0 / 0.8687 GB, free: 22.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.6758, allocations: 47.95 kB / 0.8687 GB, free: 22.88 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.6758, allocations: 7.984 kB / 0.8687 GB, free: 22.87 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.6759, allocations: 4 kB / 0.8687 GB, free: 22.87 MB / 0.5575 GB Notification: Performance of sort global known variables: time 3.678e-05/0.6759, allocations: 87.28 kB / 0.8688 GB, free: 22.78 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009701/0.6769, allocations: 108.2 kB / 0.8689 GB, free: 22.68 MB / 0.5575 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.0002337/0.6771, allocations: 123.2 kB / 0.869 GB, free: 22.54 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0007147/0.6779, allocations: 195.9 kB / 0.8692 GB, free: 22.35 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6779, allocations: 0 / 0.8692 GB, free: 22.35 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.6782, allocations: 71.92 kB / 0.8693 GB, free: 22.28 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.6784, allocations: 4 kB / 0.8693 GB, free: 22.28 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.6814, allocations: 345 kB / 0.8696 GB, free: 21.91 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/0.6821, allocations: 0.7776 MB / 0.8704 GB, free: 21.11 MB / 0.5575 GB Notification: Performance of SimCode: time 2.61e-07/0.6822, allocations: 0 / 0.8704 GB, free: 21.11 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)