Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.459/2.459, allocations: 284.8 MB / 292.1 MB, free: 1.453 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 192.1 kB / 360.3 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 0.6187 GB, free: 6.594 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 91.23 kB / 0.7317 GB, free: 46.84 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2806/0.2819, allocations: 121.4 MB / 0.8502 GB, free: 13.61 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.9309, allocations: 115.2 MB / 0.9628 GB, free: 86.39 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/1.157, allocations: 136.7 MB / 1.096 GB, free: 13.67 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.157, allocations: 76.73 kB / 1.096 GB, free: 13.59 MB / 0.7061 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.009059/1.167, allocations: 1.303 MB / 1.098 GB, free: 12.29 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.167, allocations: 11.75 kB / 1.098 GB, free: 12.28 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/1.167, allocations: 10.91 kB / 1.098 GB, free: 12.27 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/1.167, allocations: 177 kB / 1.098 GB, free: 12.06 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/1.167, allocations: 0 / 1.098 GB, free: 12.06 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/1.167, allocations: 4.5 kB / 1.098 GB, free: 12.06 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001522/1.167, allocations: 15.92 kB / 1.098 GB, free: 12.04 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/1.168, allocations: 45.69 kB / 1.098 GB, free: 11.99 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/1.168, allocations: 0 / 1.098 GB, free: 11.99 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/1.168, allocations: 4 kB / 1.098 GB, free: 11.99 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.168, allocations: 0 / 1.098 GB, free: 11.99 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/1.168, allocations: 302.6 kB / 1.098 GB, free: 11.64 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/1.169, allocations: 34.45 kB / 1.098 GB, free: 11.6 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/1.169, allocations: 16.86 kB / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/1.169, allocations: 0 / 1.098 GB, free: 11.58 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.169, allocations: 38.5 kB / 1.098 GB, free: 11.53 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=4): time 2.936e-06/1.169, allocations: 1.969 kB / 1.098 GB, free: 11.53 MB / 0.7061 GB Notification: Performance of matching and sorting (n=8): time 0.05851/1.227, allocations: 1.262 MB / 1.099 GB, free: 10.26 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/1.227, allocations: 55.41 kB / 1.1 GB, free: 10.2 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/1.228, allocations: 109 kB / 1.1 GB, free: 10.08 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/1.228, allocations: 25.7 kB / 1.1 GB, free: 10.05 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/1.228, allocations: 88.02 kB / 1.1 GB, free: 9.961 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.228, allocations: 27.61 kB / 1.1 GB, free: 9.934 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.228, allocations: 0 / 1.1 GB, free: 9.934 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.229, allocations: 318.8 kB / 1.1 GB, free: 9.613 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.23, allocations: 116 kB / 1.1 GB, free: 9.5 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009968/1.231, allocations: 108 kB / 1.1 GB, free: 9.395 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/1.233, allocations: 182.9 kB / 1.1 GB, free: 9.219 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.233, allocations: 0 / 1.1 GB, free: 9.219 MB / 0.7061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003787/1.237, allocations: 333.4 kB / 1.101 GB, free: 8.887 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/1.237, allocations: 4.625 kB / 1.101 GB, free: 8.883 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.237, allocations: 4 kB / 1.101 GB, free: 8.879 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.237, allocations: 0.5625 kB / 1.101 GB, free: 8.879 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/1.243, allocations: 75.86 kB / 1.101 GB, free: 8.805 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.243, allocations: 0 / 1.101 GB, free: 8.805 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/1.246, allocations: 59.94 kB / 1.101 GB, free: 8.746 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.246, allocations: 0 / 1.101 GB, free: 8.746 MB / 0.7061 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.0002648/1.246, allocations: 105 kB / 1.101 GB, free: 8.637 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.246, allocations: 3.906 kB / 1.101 GB, free: 8.633 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.247, allocations: 28.38 kB / 1.101 GB, free: 8.602 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.247, allocations: 4.422 kB / 1.101 GB, free: 8.598 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.247, allocations: 7.188 kB / 1.101 GB, free: 8.594 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.247, allocations: 3.984 kB / 1.101 GB, free: 8.59 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.26, allocations: 0.8377 MB / 1.102 GB, free: 7.703 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.26, allocations: 0 / 1.102 GB, free: 7.703 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.262, allocations: 64 kB / 1.102 GB, free: 7.641 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.262, allocations: 4 kB / 1.102 GB, free: 7.637 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.262, allocations: 288 / 1.102 GB, free: 7.637 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.262, allocations: 1.969 kB / 1.102 GB, free: 7.637 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.262, allocations: 4 kB / 1.102 GB, free: 7.633 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002059/1.265, allocations: 352.3 kB / 1.102 GB, free: 7.254 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002108/1.267, allocations: 0.719 MB / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/1.267, allocations: 85 kB / 1.103 GB, free: 6.398 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.267, allocations: 7.984 kB / 1.103 GB, free: 6.391 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.269, allocations: 47.95 kB / 1.103 GB, free: 6.344 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/1.269, allocations: 3.906 kB / 1.103 GB, free: 6.34 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/1.269, allocations: 4 kB / 1.103 GB, free: 6.336 MB / 0.7061 GB Notification: Performance of sort global known variables: time 0.0001215/1.27, allocations: 103.2 kB / 1.103 GB, free: 6.234 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.001435/1.271, allocations: 99.94 kB / 1.103 GB, free: 6.137 MB / 0.7061 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.0003421/1.271, allocations: 119.2 kB / 1.103 GB, free: 6.012 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.273, allocations: 188.7 kB / 1.104 GB, free: 5.828 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.273, allocations: 0 / 1.104 GB, free: 5.828 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/1.273, allocations: 63.94 kB / 1.104 GB, free: 5.766 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.274, allocations: 7.984 kB / 1.104 GB, free: 5.758 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/1.28, allocations: 351.9 kB / 1.104 GB, free: 5.387 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.281, allocations: 0.7815 MB / 1.105 GB, free: 4.578 MB / 0.7061 GB Notification: Performance of SimCode: time 1.984e-06/1.281, allocations: 0 / 1.105 GB, free: 4.578 MB / 0.7061 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)