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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [: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.7192/0.7192, allocations: 141.8 MB / 149.1 MB, free: 4.039 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.001121/0.001121, allocations: 186.3 kB / 181.9 MB, free: 15.78 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.245/1.245, allocations: 221.4 MB / 436 MB, free: 8.984 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.0009569/0.000957, allocations: 93.52 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001787, allocations: 282.1 kB / 0.5884 GB, free: 11.98 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1523/0.1542, allocations: 89.64 MB / 0.676 GB, free: 2.25 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.4823, allocations: 82.77 MB / 0.7568 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.584, allocations: 107.3 MB / 0.8616 GB, free: 5.059 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.5843, allocations: 79.94 kB / 0.8617 GB, free: 4.984 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.003358/0.5876, allocations: 1.284 MB / 0.8629 GB, free: 3.668 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.5877, allocations: 13.28 kB / 0.8629 GB, free: 3.656 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.5877, allocations: 0 / 0.8629 GB, free: 3.656 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.445e-05/0.5878, allocations: 159.1 kB / 0.8631 GB, free: 3.461 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.5878, allocations: 0.625 kB / 0.8631 GB, free: 3.461 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.5878, allocations: 0 / 0.8631 GB, free: 3.461 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.995e-05/0.5878, allocations: 9.156 kB / 0.8631 GB, free: 3.453 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.98e-05/0.5879, allocations: 29.61 kB / 0.8631 GB, free: 3.418 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.5879, allocations: 0.9062 kB / 0.8631 GB, free: 3.418 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.5879, allocations: 0 / 0.8631 GB, free: 3.418 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.5879, allocations: 4.594 kB / 0.8631 GB, free: 3.414 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.957e-05/0.588, allocations: 135.2 kB / 0.8633 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.588, allocations: 19.17 kB / 0.8633 GB, free: 3.219 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.5881, allocations: 9.406 kB / 0.8633 GB, free: 3.207 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.5886, allocations: 440.2 kB / 0.8637 GB, free: 2.688 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.5886, allocations: 35.22 kB / 0.8637 GB, free: 2.645 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5886, allocations: 0.5312 kB / 0.8637 GB, free: 2.645 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.5887, allocations: 38.52 kB / 0.8638 GB, free: 2.605 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.337e-05/0.5887, allocations: 55.41 kB / 0.8638 GB, free: 2.539 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.476e-05/0.5888, allocations: 85 kB / 0.8639 GB, free: 2.449 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.5888, allocations: 34.62 kB / 0.864 GB, free: 2.41 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-06/0.5888, allocations: 80.14 kB / 0.864 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.5888, allocations: 1.094 kB / 0.864 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.5888, allocations: 0 / 0.864 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.5888, allocations: 311.4 kB / 0.8643 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.5889, allocations: 7.938 kB / 0.8643 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.5889, allocations: 0.9062 kB / 0.8643 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.5889, allocations: 0.6875 kB / 0.8643 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5889, allocations: 0 / 0.8643 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.654e-05/0.589, allocations: 34.2 kB / 0.8644 GB, free: 1.969 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.589, allocations: 8.812 kB / 0.8644 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.589, allocations: 0 / 0.8644 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.589, allocations: 0.6875 kB / 0.8644 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.589, allocations: 3.984 kB / 0.8644 GB, free: 1.957 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5891, allocations: 0.8438 kB / 0.8644 GB, free: 1.957 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.5891, allocations: 4 kB / 0.8644 GB, free: 1.953 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.5891, allocations: 1.625 kB / 0.8644 GB, free: 1.953 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 3.377e-05/0.5891, allocations: 101 kB / 0.8645 GB, free: 1.848 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.5891, allocations: 0 / 0.8645 GB, free: 1.848 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.5892, allocations: 45.67 kB / 0.8645 GB, free: 1.797 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5892, allocations: 0 / 0.8645 GB, free: 1.797 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5892, allocations: 4.641 kB / 0.8645 GB, free: 1.793 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5892, allocations: 0 / 0.8645 GB, free: 1.793 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.732e-05/0.5893, allocations: 127 kB / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5893, allocations: 0 / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.5893, allocations: 0.9375 kB / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5893, allocations: 0 / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.5893, allocations: 0.5625 kB / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.5893, allocations: 0 / 0.8647 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5893, allocations: 8.438 kB / 0.8647 GB, free: 1.625 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.728e-05/0.5894, allocations: 62.5 kB / 0.8647 GB, free: 1.547 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.417e-05/0.5895, allocations: 443.3 kB / 0.8651 GB, free: 1.094 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.5895, allocations: 77.73 kB / 0.8652 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.5895, allocations: 0 / 0.8652 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.5895, allocations: 1.594 kB / 0.8652 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.5896, allocations: 0.5312 kB / 0.8652 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.5896, allocations: 4.5 kB / 0.8652 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.049e-05/0.5896, allocations: 76 kB / 0.8653 GB, free: 0.9219 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007729/0.5904, allocations: 23.94 kB / 0.8653 GB, free: 0.8984 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.0002309/0.5906, allocations: 143.7 kB / 0.8655 GB, free: 0.75 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 4.943e-05/0.5906, allocations: 8.844 kB / 0.8655 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5907, allocations: 0.8125 kB / 0.8655 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.5907, allocations: 0 / 0.8655 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.792e-05/0.5908, allocations: 10.31 kB / 0.8655 GB, free: 0.7344 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001244/0.5909, allocations: 40.08 kB / 0.8655 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.591, allocations: 0.6841 MB / 0.8662 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.591, allocations: 0 / 0.8662 GB, free: 15.96 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)