Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") [: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.7726/0.7726, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001021/0.001021, allocations: 185.3 kB / 164.4 MB, free: 6.879 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.736/1.736, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001055/0.001055, allocations: 84.31 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.036e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2181, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6395/0.8577, allocations: 102 MB / 0.7205 GB, free: 10.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.858, allocations: 79.94 kB / 0.7206 GB, free: 10.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004928/0.863, allocations: 1.297 MB / 0.7218 GB, free: 9.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.863, allocations: 0 / 0.7218 GB, free: 9.086 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.00041/0.8634, allocations: 354.4 kB / 0.7222 GB, free: 8.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8635, allocations: 8.031 kB / 0.7222 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.8635, allocations: 0 / 0.7222 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.8637, allocations: 170.9 kB / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.8637, allocations: 0 / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.8637, allocations: 4 kB / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.337e-05/0.8638, allocations: 12 kB / 0.7224 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.8639, allocations: 41.61 kB / 0.7224 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.8639, allocations: 0 / 0.7224 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.8639, allocations: 4 kB / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8639, allocations: 0 / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.8644, allocations: 249.4 kB / 0.7226 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.8645, allocations: 26.58 kB / 0.7227 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.8646, allocations: 8.859 kB / 0.7227 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.8652, allocations: 445.5 kB / 0.7231 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8653, allocations: 34.56 kB / 0.7231 GB, free: 7.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8653, allocations: 0 / 0.7231 GB, free: 7.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002659/0.8656, allocations: 45.55 kB / 0.7232 GB, free: 7.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.8656, allocations: 51.41 kB / 0.7232 GB, free: 7.402 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.8657, allocations: 96.98 kB / 0.7233 GB, free: 7.301 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.8658, allocations: 29.7 kB / 0.7233 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.8658, allocations: 80.14 kB / 0.7234 GB, free: 7.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.8658, allocations: 7.938 kB / 0.7234 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8659, allocations: 0 / 0.7234 GB, free: 7.176 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.866, allocations: 314.8 kB / 0.7237 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.8661, allocations: 4 kB / 0.7237 GB, free: 6.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.8661, allocations: 6.438 kB / 0.7237 GB, free: 6.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.8661, allocations: 4 kB / 0.7237 GB, free: 6.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8661, allocations: 7.922 kB / 0.7237 GB, free: 6.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.501e-05/0.8662, allocations: 45.64 kB / 0.7238 GB, free: 6.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8663, allocations: 8 kB / 0.7238 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8663, allocations: 4 kB / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8663, allocations: 0 / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.8664, allocations: 15.98 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8664, allocations: 0.75 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.8665, allocations: 4 kB / 0.7238 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.8665, allocations: 12.69 kB / 0.7238 GB, free: 6.746 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 7.712e-05/0.8666, allocations: 101 kB / 0.7239 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.8666, allocations: 3.906 kB / 0.7239 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.8667, allocations: 48.98 kB / 0.724 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.8667, allocations: 4 kB / 0.724 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8668, allocations: 0 / 0.724 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8668, allocations: 3.938 kB / 0.724 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.8669, allocations: 138.2 kB / 0.7241 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8669, allocations: 4.031 kB / 0.7241 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.867, allocations: 15.92 kB / 0.7241 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.867, allocations: 3.906 kB / 0.7241 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.867, allocations: 0 / 0.7241 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.867, allocations: 0 / 0.7241 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.867, allocations: 4 kB / 0.7241 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001376/0.8672, allocations: 135.5 kB / 0.7243 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.8672, allocations: 81.02 kB / 0.7244 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.8673, allocations: 4 kB / 0.7244 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.8674, allocations: 7.984 kB / 0.7244 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.8674, allocations: 4 kB / 0.7244 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.8674, allocations: 4 kB / 0.7244 GB, free: 6.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.087e-05/0.8675, allocations: 83.31 kB / 0.7245 GB, free: 6.031 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.8677, allocations: 27.92 kB / 0.7245 GB, free: 6.004 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.0003022/0.868, allocations: 135.5 kB / 0.7246 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.8681, allocations: 15.94 kB / 0.7246 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8681, allocations: 0 / 0.7246 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.8682, allocations: 8 kB / 0.7246 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.8683, allocations: 11.84 kB / 0.7246 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.8686, allocations: 60.05 kB / 0.7247 GB, free: 5.746 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.8689, allocations: 0.688 MB / 0.7254 GB, free: 5.031 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8689, allocations: 0 / 0.7254 GB, free: 5.031 MB / 490.7 MB Notification: Performance of Templates: time 0.002784/0.8717, allocations: 0.6084 MB / 0.726 GB, free: 4.422 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)