Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8248/0.8248, allocations: 141.8 MB / 149.1 MB, free: 11.7 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 185.2 kB / 182 MB, free: 8.508 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.3 MB / 436 MB, free: 0.8047 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 101.1 kB / 0.507 GB, free: 9.766 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.00182, allocations: 259.9 kB / 0.5884 GB, free: 6.609 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.069e-05, allocations: 4 kB / 0.6759 GB, free: 12.95 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.393, allocations: 82.78 MB / 0.7568 GB, free: 137.8 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.509, allocations: 107.6 MB / 0.8619 GB, free: 30.03 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5093, allocations: 76.8 kB / 0.8619 GB, free: 29.96 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.005977/0.5153, allocations: 1.86 MB / 0.8638 GB, free: 28.12 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5154, allocations: 4.938 kB / 0.8638 GB, free: 28.11 MB / 0.5575 GB 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.0002309/0.5156, allocations: 331 kB / 0.8641 GB, free: 27.75 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5157, allocations: 9.875 kB / 0.8641 GB, free: 27.74 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.5157, allocations: 0 / 0.8641 GB, free: 27.74 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.86e-05/0.5158, allocations: 167.7 kB / 0.8642 GB, free: 27.54 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5158, allocations: 0 / 0.8642 GB, free: 27.54 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.5158, allocations: 4.812 kB / 0.8642 GB, free: 27.53 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.274e-05/0.5159, allocations: 3.938 kB / 0.8643 GB, free: 27.53 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.431e-05/0.516, allocations: 31.33 kB / 0.8643 GB, free: 27.49 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.516, allocations: 0 / 0.8643 GB, free: 27.49 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.516, allocations: 4 kB / 0.8643 GB, free: 27.49 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.516, allocations: 3.984 kB / 0.8643 GB, free: 27.48 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.5161, allocations: 122.8 kB / 0.8644 GB, free: 27.33 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/0.5162, allocations: 19.98 kB / 0.8644 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.5162, allocations: 8.953 kB / 0.8644 GB, free: 27.29 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.5168, allocations: 453.4 kB / 0.8649 GB, free: 26.76 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.5168, allocations: 35.41 kB / 0.8649 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.5168, allocations: 1.188 kB / 0.8649 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.517, allocations: 33.61 kB / 0.8649 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.517, allocations: 52.22 kB / 0.865 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.854e-05/0.517, allocations: 85 kB / 0.8651 GB, free: 26.52 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.5171, allocations: 26.52 kB / 0.8651 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.5171, allocations: 92.08 kB / 0.8652 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5171, allocations: 1.625 kB / 0.8652 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.5171, allocations: 0 / 0.8652 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.5172, allocations: 310.8 kB / 0.8655 GB, free: 26.09 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-06/0.5172, allocations: 1.375 kB / 0.8655 GB, free: 26.09 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.5172, allocations: 0 / 0.8655 GB, free: 26.09 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.5173, allocations: 7.984 kB / 0.8655 GB, free: 26.08 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5173, allocations: 1.219 kB / 0.8655 GB, free: 26.08 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.811e-05/0.5174, allocations: 37.55 kB / 0.8655 GB, free: 26.04 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5174, allocations: 5.531 kB / 0.8655 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5174, allocations: 0 / 0.8655 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5174, allocations: 0 / 0.8655 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.5175, allocations: 8 kB / 0.8655 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5175, allocations: 1.797 kB / 0.8655 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.5175, allocations: 1.312 kB / 0.8655 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5175, allocations: 0 / 0.8655 GB, free: 26.02 MB / 0.5575 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 (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 4.84e-05/0.5176, allocations: 102.4 kB / 0.8656 GB, free: 25.92 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.5176, allocations: 4 kB / 0.8656 GB, free: 25.91 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.5177, allocations: 48.33 kB / 0.8657 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5177, allocations: 0 / 0.8657 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5177, allocations: 0 / 0.8657 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5177, allocations: 0 / 0.8657 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.465e-05/0.5178, allocations: 126.7 kB / 0.8658 GB, free: 25.7 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5178, allocations: 0.75 kB / 0.8658 GB, free: 25.7 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.5178, allocations: 11.88 kB / 0.8658 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5178, allocations: 0.6562 kB / 0.8658 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5178, allocations: 0 / 0.8658 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5178, allocations: 0.6562 kB / 0.8658 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5178, allocations: 3.906 kB / 0.8658 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.131e-05/0.5179, allocations: 55.02 kB / 0.8659 GB, free: 25.62 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.5179, allocations: 81.09 kB / 0.866 GB, free: 25.52 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.518, allocations: 1 kB / 0.866 GB, free: 25.52 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.518, allocations: 4 kB / 0.866 GB, free: 25.52 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.518, allocations: 4.656 kB / 0.866 GB, free: 25.51 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.518, allocations: 0 / 0.866 GB, free: 25.51 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.924e-05/0.518, allocations: 75.97 kB / 0.866 GB, free: 25.44 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002426/0.5183, allocations: 44.59 kB / 0.8661 GB, free: 25.39 MB / 0.5575 GB 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.0003839/0.5187, allocations: 170.6 kB / 0.8662 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.283e-05/0.5187, allocations: 8.438 kB / 0.8662 GB, free: 25.22 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5187, allocations: 4.25 kB / 0.8663 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-06/0.5188, allocations: 0 / 0.8663 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.5189, allocations: 0 / 0.8663 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.519, allocations: 48.06 kB / 0.8663 GB, free: 25.14 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5192, allocations: 0.6802 MB / 0.867 GB, free: 24.44 MB / 0.5575 GB Notification: Performance of SimCode: time 4.31e-07/0.5192, allocations: 0 / 0.867 GB, free: 24.44 MB / 0.5575 GB Notification: Performance of Templates: time 0.002559/0.5218, allocations: 0.6221 MB / 0.8676 GB, free: 23.82 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)