Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8479/0.8479, allocations: 141.8 MB / 149.1 MB, free: 3.922 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 173.5 kB / 181.9 MB, free: 15.67 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.443/1.443, allocations: 221.4 MB / 436 MB, free: 8.77 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.0009024/0.0009024, allocations: 103.5 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 264.8 kB / 0.5884 GB, free: 11.8 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/9.989e-06, allocations: 4 kB / 0.6759 GB, free: 2.156 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3987, allocations: 82.76 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.5146, allocations: 107.3 MB / 0.8615 GB, free: 4.945 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5149, allocations: 75.77 kB / 0.8616 GB, free: 4.875 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.003066/0.518, allocations: 0.9637 MB / 0.8625 GB, free: 3.926 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.518, allocations: 0.5938 kB / 0.8625 GB, free: 3.926 MB / 0.5263 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.0001817/0.5182, allocations: 319.7 kB / 0.8628 GB, free: 3.57 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5182, allocations: 13.28 kB / 0.8629 GB, free: 3.559 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.5183, allocations: 0.625 kB / 0.8629 GB, free: 3.559 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.753e-05/0.5183, allocations: 167 kB / 0.863 GB, free: 3.355 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.5184, allocations: 1.625 kB / 0.863 GB, free: 3.355 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.5184, allocations: 0 / 0.863 GB, free: 3.355 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.503e-05/0.5184, allocations: 3.938 kB / 0.863 GB, free: 3.352 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.951e-05/0.5185, allocations: 33.61 kB / 0.863 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5185, allocations: 1.094 kB / 0.863 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.5185, allocations: 0 / 0.863 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5185, allocations: 0 / 0.863 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.627e-05/0.5186, allocations: 127.4 kB / 0.8632 GB, free: 3.152 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 2.836e-05/0.5186, allocations: 19.7 kB / 0.8632 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.5187, allocations: 4.859 kB / 0.8632 GB, free: 3.117 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/0.5192, allocations: 439.8 kB / 0.8636 GB, free: 2.598 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5192, allocations: 44.67 kB / 0.8637 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.5192, allocations: 0 / 0.8637 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.5194, allocations: 33.55 kB / 0.8637 GB, free: 2.508 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.5194, allocations: 56.22 kB / 0.8637 GB, free: 2.441 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.833e-05/0.5194, allocations: 85 kB / 0.8638 GB, free: 2.352 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.5194, allocations: 30.2 kB / 0.8639 GB, free: 2.316 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.5195, allocations: 80.64 kB / 0.8639 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.5195, allocations: 0.625 kB / 0.8639 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.5195, allocations: 0 / 0.8639 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.5195, allocations: 311.4 kB / 0.8642 GB, free: 1.922 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.5196, allocations: 1.312 kB / 0.8642 GB, free: 1.922 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.5196, allocations: 4 kB / 0.8642 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.5196, allocations: 0.9062 kB / 0.8642 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5196, allocations: 1.125 kB / 0.8642 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.573e-05/0.5197, allocations: 46.09 kB / 0.8643 GB, free: 1.867 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5197, allocations: 4.656 kB / 0.8643 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5197, allocations: 4 kB / 0.8643 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5197, allocations: 0.7188 kB / 0.8643 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.5198, allocations: 3.984 kB / 0.8643 GB, free: 1.855 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5198, allocations: 0.5312 kB / 0.8643 GB, free: 1.855 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-06/0.5198, allocations: 0.5312 kB / 0.8643 GB, free: 1.855 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5198, allocations: 0.7188 kB / 0.8643 GB, free: 1.855 MB / 0.5263 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.214e-05/0.5198, allocations: 105.7 kB / 0.8644 GB, free: 1.746 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.5199, allocations: 0 / 0.8644 GB, free: 1.746 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.5199, allocations: 41.34 kB / 0.8644 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5199, allocations: 2.031 kB / 0.8644 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.52, allocations: 0 / 0.8644 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.52, allocations: 0.8438 kB / 0.8644 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.409e-05/0.52, allocations: 122.2 kB / 0.8646 GB, free: 1.543 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.52, allocations: 4.844 kB / 0.8646 GB, free: 1.539 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.52, allocations: 3.984 kB / 0.8646 GB, free: 1.535 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.52, allocations: 0.9375 kB / 0.8646 GB, free: 1.535 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.52, allocations: 4 kB / 0.8646 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5201, allocations: 3.938 kB / 0.8646 GB, free: 1.527 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5201, allocations: 5.469 kB / 0.8646 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.609e-05/0.5201, allocations: 57.83 kB / 0.8646 GB, free: 1.449 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.5201, allocations: 77.7 kB / 0.8647 GB, free: 1.355 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.5202, allocations: 3.984 kB / 0.8647 GB, free: 1.352 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.5202, allocations: 0.9375 kB / 0.8647 GB, free: 1.352 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.5202, allocations: 3.906 kB / 0.8647 GB, free: 1.348 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.5202, allocations: 6.344 kB / 0.8647 GB, free: 1.344 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.179e-05/0.5202, allocations: 79.22 kB / 0.8648 GB, free: 1.266 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0001957/0.5204, allocations: 19.94 kB / 0.8648 GB, free: 1.246 MB / 0.5263 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.0002169/0.5206, allocations: 139.4 kB / 0.8649 GB, free: 1.098 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.5207, allocations: 11.94 kB / 0.865 GB, free: 1.086 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.5207, allocations: 0 / 0.865 GB, free: 1.086 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.5207, allocations: 4 kB / 0.865 GB, free: 1.082 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.11e-05/0.5208, allocations: 0 / 0.865 GB, free: 1.082 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.5209, allocations: 47.19 kB / 0.865 GB, free: 1.016 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5211, allocations: 0.6789 MB / 0.8657 GB, free: 320 kB / 0.5263 GB Notification: Performance of SimCode: time 2.2e-07/0.5211, allocations: 128 / 0.8657 GB, free: 320 kB / 0.5263 GB Notification: Performance of Templates: time 0.001967/0.523, allocations: 414 kB / 0.8661 GB, free: 15.92 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)