Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6801/0.6801, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 189.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 399.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 86.81 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2645/0.2654, allocations: 82.91 MB / 0.5461 GB, free: 42.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.4069, allocations: 76.74 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.8101, allocations: 101.5 MB / 0.7201 GB, free: 10.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8104, allocations: 75.94 kB / 0.7202 GB, free: 10.72 MB / 490.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.004725/0.8152, allocations: 1.314 MB / 0.7215 GB, free: 9.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.8152, allocations: 8 kB / 0.7215 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.8153, allocations: 7.906 kB / 0.7215 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.8155, allocations: 179.8 kB / 0.7217 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.8156, allocations: 0 / 0.7217 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.8156, allocations: 7.906 kB / 0.7217 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.036e-05/0.8157, allocations: 15.98 kB / 0.7217 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.569e-05/0.8158, allocations: 37.69 kB / 0.7217 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.8158, allocations: 0 / 0.7217 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.8158, allocations: 0 / 0.7217 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8158, allocations: 4 kB / 0.7217 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.8162, allocations: 310.5 kB / 0.722 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.8163, allocations: 33.72 kB / 0.7221 GB, free: 8.672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.8164, allocations: 12.86 kB / 0.7221 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8164, allocations: 4 kB / 0.7221 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8164, allocations: 34.64 kB / 0.7221 GB, free: 8.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.8164, allocations: 0.9375 kB / 0.7221 GB, free: 8.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.01981/0.8362, allocations: 1.265 MB / 0.7234 GB, free: 7.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.8363, allocations: 55.41 kB / 0.7234 GB, free: 7.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.8365, allocations: 108.8 kB / 0.7235 GB, free: 7.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.8366, allocations: 25.7 kB / 0.7235 GB, free: 7.129 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.8367, allocations: 95.97 kB / 0.7236 GB, free: 7.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.8368, allocations: 15.72 kB / 0.7236 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.8369, allocations: 0 / 0.7236 GB, free: 7.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.837, allocations: 330.7 kB / 0.724 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.8374, allocations: 108 kB / 0.7241 GB, free: 6.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.8377, allocations: 112 kB / 0.7242 GB, free: 6.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/0.8385, allocations: 179.8 kB / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8386, allocations: 0 / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001379/0.8399, allocations: 325.5 kB / 0.7246 GB, free: 5.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.84, allocations: 7.906 kB / 0.7247 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.84, allocations: 3.984 kB / 0.7247 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.84, allocations: 4 kB / 0.7247 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.8418, allocations: 73.19 kB / 0.7247 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8418, allocations: 4.062 kB / 0.7247 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.8432, allocations: 59.94 kB / 0.7248 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.8433, allocations: 0 / 0.7248 GB, free: 5.82 MB / 490.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.0001931/0.8435, allocations: 101 kB / 0.7249 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.8436, allocations: 12.19 kB / 0.7249 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.8439, allocations: 24.38 kB / 0.7249 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8439, allocations: 3.984 kB / 0.7249 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.844, allocations: 3.984 kB / 0.7249 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.844, allocations: 0.6562 kB / 0.7249 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.8507, allocations: 0.8417 MB / 0.7258 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8507, allocations: 0 / 0.7258 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.8519, allocations: 67.94 kB / 0.7258 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.852, allocations: 0 / 0.7258 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.852, allocations: 4 kB / 0.7258 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8521, allocations: 0 / 0.7258 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8521, allocations: 3.938 kB / 0.7258 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001201/0.8533, allocations: 348.5 kB / 0.7262 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001313/0.8546, allocations: 0.7187 MB / 0.7269 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.8547, allocations: 89 kB / 0.7269 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.8548, allocations: 0 / 0.7269 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.856, allocations: 51.95 kB / 0.727 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.856, allocations: 0 / 0.727 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.856, allocations: 7.984 kB / 0.727 GB, free: 3.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.862e-05/0.8561, allocations: 93.36 kB / 0.7271 GB, free: 3.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001079/0.8572, allocations: 99.94 kB / 0.7272 GB, free: 3.23 MB / 490.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.000331/0.8576, allocations: 135.1 kB / 0.7273 GB, free: 3.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007952/0.8584, allocations: 187.9 kB / 0.7275 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8584, allocations: 0 / 0.7275 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.8587, allocations: 67.92 kB / 0.7276 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8589, allocations: 4 kB / 0.7276 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.8621, allocations: 348.9 kB / 0.7279 GB, free: 2.465 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/0.8631, allocations: 0.7776 MB / 0.7287 GB, free: 1.66 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8631, allocations: 0 / 0.7287 GB, free: 1.66 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)