Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") [: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.7263/0.7263, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.00107/0.001071, allocations: 189.2 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.689/1.689, allocations: 205.1 MB / 399.1 MB, free: 6.16 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.001028/0.001028, allocations: 85.16 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.396e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2573, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5647/0.8221, allocations: 101.9 MB / 0.7205 GB, free: 10.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.8224, allocations: 71.95 kB / 0.7205 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004503/0.8269, allocations: 1.272 MB / 0.7218 GB, free: 9.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.8269, allocations: 7.938 kB / 0.7218 GB, free: 9.137 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003831/0.8273, allocations: 342.4 kB / 0.7221 GB, free: 8.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8274, allocations: 8.031 kB / 0.7221 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.8274, allocations: 0 / 0.7221 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.8276, allocations: 178.9 kB / 0.7223 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.8276, allocations: 0 / 0.7223 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.8276, allocations: 0 / 0.7223 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.808e-05/0.8277, allocations: 8 kB / 0.7223 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/0.8277, allocations: 37.7 kB / 0.7223 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8278, allocations: 3.984 kB / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.8278, allocations: 0 / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8278, allocations: 0 / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.8282, allocations: 249.4 kB / 0.7226 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/0.8283, allocations: 26.52 kB / 0.7226 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.8283, allocations: 9.672 kB / 0.7226 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.8289, allocations: 445.5 kB / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.829, allocations: 30.56 kB / 0.723 GB, free: 7.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.829, allocations: 0 / 0.723 GB, free: 7.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.8292, allocations: 37.61 kB / 0.7231 GB, free: 7.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.8292, allocations: 59.44 kB / 0.7231 GB, free: 7.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.8293, allocations: 92.98 kB / 0.7232 GB, free: 7.375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.8293, allocations: 29.7 kB / 0.7233 GB, free: 7.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.8294, allocations: 84.08 kB / 0.7233 GB, free: 7.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.8294, allocations: 7.906 kB / 0.7233 GB, free: 7.246 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.8294, allocations: 0 / 0.7233 GB, free: 7.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.8295, allocations: 310.8 kB / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.8295, allocations: 4 kB / 0.7236 GB, free: 6.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.8296, allocations: 15.94 kB / 0.7237 GB, free: 6.914 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.8296, allocations: 3.984 kB / 0.7237 GB, free: 6.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8296, allocations: 4 kB / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.094e-05/0.8297, allocations: 37.7 kB / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.8297, allocations: 7.906 kB / 0.7237 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8297, allocations: 0 / 0.7237 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8298, allocations: 0 / 0.7237 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.8299, allocations: 24.02 kB / 0.7237 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.8299, allocations: 0 / 0.7237 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.8299, allocations: 17.3 kB / 0.7238 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.83, allocations: 0 / 0.7238 GB, free: 6.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 (2): * Single equations (assignments): 2 * 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 6.893e-05/0.83, allocations: 101 kB / 0.7238 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8301, allocations: 3.906 kB / 0.7239 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.8302, allocations: 52.94 kB / 0.7239 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8302, allocations: 4 kB / 0.7239 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8302, allocations: 0 / 0.7239 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8302, allocations: 0 / 0.7239 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.8304, allocations: 134.2 kB / 0.724 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8304, allocations: 192 / 0.724 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.8304, allocations: 11.98 kB / 0.724 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8305, allocations: 7.938 kB / 0.7241 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8305, allocations: 3.984 kB / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8305, allocations: 4 kB / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8305, allocations: 0 / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001667/0.8307, allocations: 135.5 kB / 0.7242 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.8307, allocations: 81.02 kB / 0.7243 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.8307, allocations: 4 kB / 0.7243 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.8308, allocations: 12.02 kB / 0.7243 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.8309, allocations: 7.938 kB / 0.7243 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.8309, allocations: 0 / 0.7243 GB, free: 6.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.615e-05/0.8309, allocations: 79.28 kB / 0.7244 GB, free: 6.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.8312, allocations: 23.92 kB / 0.7244 GB, free: 6.086 MB / 490.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000277/0.8314, allocations: 135.2 kB / 0.7245 GB, free: 5.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.8315, allocations: 12 kB / 0.7245 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8315, allocations: 4.062 kB / 0.7245 GB, free: 5.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.8316, allocations: 8 kB / 0.7245 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.8317, allocations: 15.78 kB / 0.7246 GB, free: 5.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.8319, allocations: 59.86 kB / 0.7246 GB, free: 5.824 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.8323, allocations: 0.6841 MB / 0.7253 GB, free: 5.113 MB / 490.7 MB Notification: Performance of SimCode: time 1.854e-06/0.8323, allocations: 0 / 0.7253 GB, free: 5.113 MB / 490.7 MB Notification: Performance of Templates: time 0.002595/0.8349, allocations: 0.618 MB / 0.7259 GB, free: 4.5 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)