Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/BuildingSystems 2.0.0-master/package.mo): time 0.8287/0.8287, allocations: 141.8 MB / 149.1 MB, free: 13.05 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001117, allocations: 178.3 kB / 182 MB, free: 9.711 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.3 MB / 436 MB, free: 2.102 MB / 331.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 103.7 kB / 0.507 GB, free: 10.9 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 277.3 kB / 0.5884 GB, free: 7.727 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.337e-05, allocations: 4 kB / 0.6759 GB, free: 14.07 MB / 0.5577 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4068, allocations: 82.77 MB / 0.7567 GB, free: 138.9 MB / 0.5577 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.5209, allocations: 107.3 MB / 0.8615 GB, free: 31.5 MB / 0.5577 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.5211, allocations: 79.77 kB / 0.8616 GB, free: 31.43 MB / 0.5577 GB Notification: Performance of FrontEnd: time 0.002823/0.5239, allocations: 0.9229 MB / 0.8625 GB, free: 30.52 MB / 0.5577 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.524, allocations: 0.5938 kB / 0.8625 GB, free: 30.52 MB / 0.5577 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.000186/0.5242, allocations: 323.7 kB / 0.8628 GB, free: 30.16 MB / 0.5577 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5242, allocations: 13.28 kB / 0.8628 GB, free: 30.14 MB / 0.5577 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.5242, allocations: 0 / 0.8628 GB, free: 30.14 MB / 0.5577 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.682e-05/0.5243, allocations: 159.6 kB / 0.8629 GB, free: 29.95 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.5243, allocations: 0.7188 kB / 0.8629 GB, free: 29.95 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.5243, allocations: 0 / 0.8629 GB, free: 29.95 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.149e-05/0.5244, allocations: 4.719 kB / 0.8629 GB, free: 29.95 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.713e-05/0.5244, allocations: 35.3 kB / 0.863 GB, free: 29.91 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5244, allocations: 0 / 0.863 GB, free: 29.91 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.5245, allocations: 0 / 0.863 GB, free: 29.91 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5245, allocations: 0 / 0.863 GB, free: 29.91 MB / 0.5577 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.805e-05/0.5246, allocations: 130.8 kB / 0.8631 GB, free: 29.74 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 3.108e-05/0.5246, allocations: 23.27 kB / 0.8631 GB, free: 29.71 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.5246, allocations: 5.422 kB / 0.8631 GB, free: 29.7 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.5251, allocations: 436.1 kB / 0.8636 GB, free: 29.19 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5251, allocations: 39.02 kB / 0.8636 GB, free: 29.14 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5251, allocations: 0.6562 kB / 0.8636 GB, free: 29.14 MB / 0.5577 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.5253, allocations: 34.23 kB / 0.8636 GB, free: 29.1 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5253, allocations: 51.94 kB / 0.8637 GB, free: 29.04 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.578e-05/0.5253, allocations: 89.91 kB / 0.8638 GB, free: 28.95 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.5253, allocations: 25.7 kB / 0.8638 GB, free: 28.91 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.5253, allocations: 81.27 kB / 0.8639 GB, free: 28.83 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.5254, allocations: 0 / 0.8639 GB, free: 28.83 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5254, allocations: 0 / 0.8639 GB, free: 28.83 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.5254, allocations: 315.6 kB / 0.8642 GB, free: 28.52 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.5254, allocations: 4 kB / 0.8642 GB, free: 28.51 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.5254, allocations: 4.75 kB / 0.8642 GB, free: 28.51 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.5255, allocations: 1.594 kB / 0.8642 GB, free: 28.51 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5255, allocations: 0 / 0.8642 GB, free: 28.51 MB / 0.5577 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.377e-05/0.5255, allocations: 45.53 kB / 0.8642 GB, free: 28.46 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.5256, allocations: 4 kB / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5256, allocations: 1.312 kB / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5256, allocations: 0 / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.612e-05/0.5256, allocations: 0 / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5256, allocations: 5.188 kB / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-06/0.5256, allocations: 0 / 0.8642 GB, free: 28.45 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.5257, allocations: 0 / 0.8642 GB, free: 28.45 MB / 0.5577 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 3.894e-05/0.5257, allocations: 102.6 kB / 0.8643 GB, free: 28.34 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.5257, allocations: 0 / 0.8643 GB, free: 28.34 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.5258, allocations: 48.33 kB / 0.8644 GB, free: 28.29 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5258, allocations: 0 / 0.8644 GB, free: 28.29 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5258, allocations: 0 / 0.8644 GB, free: 28.29 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5258, allocations: 4 kB / 0.8644 GB, free: 28.29 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.516e-05/0.5259, allocations: 123.7 kB / 0.8645 GB, free: 28.13 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.5259, allocations: 0 / 0.8645 GB, free: 28.13 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.5259, allocations: 3.984 kB / 0.8645 GB, free: 28.13 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5259, allocations: 3.938 kB / 0.8645 GB, free: 28.12 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5259, allocations: 4.594 kB / 0.8645 GB, free: 28.12 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.5259, allocations: 0.5625 kB / 0.8645 GB, free: 28.12 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5259, allocations: 3.906 kB / 0.8645 GB, free: 28.12 MB / 0.5577 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.83e-05/0.526, allocations: 58.94 kB / 0.8646 GB, free: 28.04 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.526, allocations: 77.61 kB / 0.8646 GB, free: 27.95 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.526, allocations: 3.984 kB / 0.8646 GB, free: 27.95 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-06/0.526, allocations: 4.5 kB / 0.8646 GB, free: 27.94 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.5261, allocations: 5.094 kB / 0.8646 GB, free: 27.94 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.5261, allocations: 0 / 0.8646 GB, free: 27.94 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.523e-05/0.5261, allocations: 75.84 kB / 0.8647 GB, free: 27.86 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0002026/0.5263, allocations: 19.94 kB / 0.8647 GB, free: 27.84 MB / 0.5577 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.000241/0.5266, allocations: 138.2 kB / 0.8649 GB, free: 27.7 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 5.058e-05/0.5266, allocations: 7.938 kB / 0.8649 GB, free: 27.69 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5266, allocations: 0 / 0.8649 GB, free: 27.69 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/0.5266, allocations: 0 / 0.8649 GB, free: 27.69 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.432e-05/0.5267, allocations: 10.45 kB / 0.8649 GB, free: 27.68 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000126/0.5269, allocations: 55.64 kB / 0.8649 GB, free: 27.61 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.527, allocations: 0.6802 MB / 0.8656 GB, free: 26.9 MB / 0.5577 GB Notification: Performance of SimCode: time 2.41e-07/0.527, allocations: 0 / 0.8656 GB, free: 26.9 MB / 0.5577 GB Notification: Performance of Templates: time 0.002045/0.529, allocations: 403.5 kB / 0.866 GB, free: 26.52 MB / 0.5577 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)