Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.7249/0.7249, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001445/0.001445, allocations: 177.3 kB / 164.4 MB, free: 6.871 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.77/1.77, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001026/0.001026, allocations: 94.25 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/8.806e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.5177, allocations: 101.3 MB / 0.7198 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.518, allocations: 79.94 kB / 0.7199 GB, free: 11.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003533/0.5216, allocations: 1.01 MB / 0.7209 GB, free: 10.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.5216, allocations: 0 / 0.7209 GB, free: 10.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002746/0.5219, allocations: 326.4 kB / 0.7212 GB, free: 9.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5219, allocations: 8.031 kB / 0.7212 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.522, allocations: 4 kB / 0.7212 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.5221, allocations: 159.1 kB / 0.7214 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5221, allocations: 0 / 0.7214 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.5221, allocations: 4 kB / 0.7214 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.242e-05/0.5222, allocations: 0 / 0.7214 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.484e-05/0.5223, allocations: 29.7 kB / 0.7214 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5223, allocations: 3.906 kB / 0.7214 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5223, allocations: 0 / 0.7214 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5223, allocations: 0 / 0.7214 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.5224, allocations: 126.2 kB / 0.7215 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.5225, allocations: 18.61 kB / 0.7215 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.5225, allocations: 16.86 kB / 0.7215 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.5232, allocations: 437.5 kB / 0.722 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.5232, allocations: 30.56 kB / 0.722 GB, free: 8.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.5232, allocations: 3.984 kB / 0.722 GB, free: 8.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.5233, allocations: 33.7 kB / 0.722 GB, free: 8.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5234, allocations: 51.41 kB / 0.7221 GB, free: 8.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.996e-05/0.5234, allocations: 85 kB / 0.7222 GB, free: 8.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.5234, allocations: 29.7 kB / 0.7222 GB, free: 8.406 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.5235, allocations: 84.12 kB / 0.7223 GB, free: 8.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.5235, allocations: 7.906 kB / 0.7223 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.5235, allocations: 0 / 0.7223 GB, free: 8.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5237, allocations: 310.8 kB / 0.7226 GB, free: 8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.5237, allocations: 7.969 kB / 0.7226 GB, free: 7.992 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.5237, allocations: 0 / 0.7226 GB, free: 7.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.5237, allocations: 4 kB / 0.7226 GB, free: 7.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5237, allocations: 3.938 kB / 0.7226 GB, free: 7.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.107e-05/0.5238, allocations: 29.7 kB / 0.7226 GB, free: 7.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5238, allocations: 4 kB / 0.7226 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5238, allocations: 0 / 0.7226 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5238, allocations: 7.906 kB / 0.7226 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.5239, allocations: 4.734 kB / 0.7226 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5239, allocations: 4.094 kB / 0.7226 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.5239, allocations: 0 / 0.7226 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5239, allocations: 0 / 0.7226 GB, free: 7.93 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 (1): * Single equations (assignments): 1 * 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 8.195e-05/0.524, allocations: 111.4 kB / 0.7227 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.524, allocations: 0 / 0.7227 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.5241, allocations: 41.42 kB / 0.7228 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5242, allocations: 7.594 kB / 0.7228 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5242, allocations: 7.922 kB / 0.7228 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5242, allocations: 4.031 kB / 0.7228 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.5243, allocations: 122.2 kB / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5243, allocations: 0 / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.5243, allocations: 4 kB / 0.7229 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5243, allocations: 0 / 0.7229 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.5244, allocations: 0 / 0.7229 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5244, allocations: 3.984 kB / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5244, allocations: 0 / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.725e-05/0.5245, allocations: 65.03 kB / 0.723 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.5245, allocations: 77.11 kB / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.5245, allocations: 0 / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.5245, allocations: 0 / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.5245, allocations: 3.938 kB / 0.7231 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.5246, allocations: 0 / 0.7231 GB, free: 7.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.354e-05/0.5246, allocations: 79.28 kB / 0.7231 GB, free: 7.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.5248, allocations: 31.89 kB / 0.7232 GB, free: 7.305 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 (1): * Single equations (assignments): 1 * 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.0002927/0.5251, allocations: 131.2 kB / 0.7233 GB, free: 7.168 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.5252, allocations: 8 kB / 0.7233 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5252, allocations: 0 / 0.7233 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.5252, allocations: 0 / 0.7233 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.599e-05/0.5253, allocations: 7.938 kB / 0.7233 GB, free: 7.152 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/0.5255, allocations: 40.02 kB / 0.7233 GB, free: 7.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.5258, allocations: 0.6841 MB / 0.724 GB, free: 6.379 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5258, allocations: 0 / 0.724 GB, free: 6.379 MB / 490.7 MB Notification: Performance of Templates: time 0.002081/0.5278, allocations: 410.9 kB / 0.7244 GB, free: 5.98 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)