Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",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.7198/0.7198, allocations: 141.8 MB / 149.1 MB, free: 1.812 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.001048/0.001048, allocations: 197.1 kB / 182 MB, free: 1.207 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.266/1.266, allocations: 221.4 MB / 436 MB, free: 5.848 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.001052/0.001052, allocations: 92.66 kB / 0.507 GB, free: 2.52 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 273.5 kB / 0.5884 GB, free: 47.62 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3469/0.3487, allocations: 89.63 MB / 0.676 GB, free: 59.84 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.4966, allocations: 82.77 MB / 0.7568 GB, free: 0.9844 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.6767, allocations: 108.3 MB / 0.8626 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.6769, allocations: 77.98 kB / 0.8627 GB, free: 4.434 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.007584/0.6845, allocations: 2.437 MB / 0.865 GB, free: 1.949 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6846, allocations: 11.94 kB / 0.865 GB, free: 1.938 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.6846, allocations: 7.906 kB / 0.8651 GB, free: 1.93 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.6847, allocations: 163.1 kB / 0.8652 GB, free: 1.73 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.6847, allocations: 0 / 0.8652 GB, free: 1.73 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.6848, allocations: 0 / 0.8652 GB, free: 1.73 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.779e-05/0.6848, allocations: 8 kB / 0.8652 GB, free: 1.723 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.6849, allocations: 41.62 kB / 0.8653 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.6849, allocations: 4 kB / 0.8653 GB, free: 1.672 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.6849, allocations: 3.906 kB / 0.8653 GB, free: 1.668 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6849, allocations: 0 / 0.8653 GB, free: 1.668 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.6853, allocations: 249.5 kB / 0.8655 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.69e-05/0.6853, allocations: 22.58 kB / 0.8655 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.6854, allocations: 12.92 kB / 0.8655 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.686, allocations: 445.5 kB / 0.866 GB, free: 0.8125 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.686, allocations: 42.41 kB / 0.866 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.686, allocations: 0 / 0.866 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001538/0.6862, allocations: 37.7 kB / 0.866 GB, free: 0.7188 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.6862, allocations: 51.41 kB / 0.8661 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.6863, allocations: 89 kB / 0.8662 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.6863, allocations: 29.73 kB / 0.8662 GB, free: 0.5273 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.6863, allocations: 88.12 kB / 0.8663 GB, free: 448 kB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.6863, allocations: 3.906 kB / 0.8663 GB, free: 444 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.6863, allocations: 4 kB / 0.8663 GB, free: 440 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.6864, allocations: 310.8 kB / 0.8666 GB, free: 120 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.6864, allocations: 4 kB / 0.8666 GB, free: 116 kB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.6865, allocations: 4 kB / 0.8666 GB, free: 112 kB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.6865, allocations: 4 kB / 0.8666 GB, free: 108 kB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6865, allocations: 4.062 kB / 0.8666 GB, free: 104 kB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.971e-05/0.6866, allocations: 49.53 kB / 0.8667 GB, free: 48 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.6866, allocations: 8 kB / 0.8667 GB, free: 40 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.6866, allocations: 0 / 0.8667 GB, free: 40 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.6866, allocations: 0 / 0.8667 GB, free: 40 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.6867, allocations: 11.98 kB / 0.8667 GB, free: 28 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.6867, allocations: 0 / 0.8667 GB, free: 28 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.6868, allocations: 15.97 kB / 0.8667 GB, free: 12 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.6868, allocations: 0 / 0.8667 GB, free: 12 kB / 0.5419 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 (2): * Single equations (assignments): 2 * 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 0.2821/0.9689, allocations: 104.9 kB / 0.8668 GB, free: 75.28 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.969, allocations: 10.95 kB / 0.8668 GB, free: 75.28 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.9691, allocations: 45.56 kB / 0.8668 GB, free: 75.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.9692, allocations: 3.891 kB / 0.8668 GB, free: 75.25 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9692, allocations: 0 / 0.8668 GB, free: 75.25 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9692, allocations: 3.688 kB / 0.8668 GB, free: 75.25 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.9693, allocations: 136.2 kB / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9693, allocations: 2.156 kB / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.9694, allocations: 14.5 kB / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9694, allocations: 0 / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.9694, allocations: 0 / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9694, allocations: 2.375 kB / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9695, allocations: 7.188 kB / 0.867 GB, free: 75.09 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/0.9696, allocations: 142.1 kB / 0.8671 GB, free: 74.96 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001334/0.9697, allocations: 0.5122 MB / 0.8676 GB, free: 74.46 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.9697, allocations: 77.11 kB / 0.8677 GB, free: 74.37 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.9698, allocations: 0 / 0.8677 GB, free: 74.37 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.9699, allocations: 10.38 kB / 0.8677 GB, free: 74.37 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.9699, allocations: 0 / 0.8677 GB, free: 74.37 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.9699, allocations: 5.469 kB / 0.8677 GB, free: 74.37 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.073e-05/0.97, allocations: 78.91 kB / 0.8678 GB, free: 74.29 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009665/0.9709, allocations: 48.7 kB / 0.8678 GB, free: 74.29 MB / 0.5419 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 (2): * Single equations (assignments): 2 * 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.0003295/0.9713, allocations: 166.6 kB / 0.868 GB, free: 74.2 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.165e-05/0.9713, allocations: 12.66 kB / 0.868 GB, free: 74.2 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9713, allocations: 7.438 kB / 0.868 GB, free: 74.2 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.9714, allocations: 10.53 kB / 0.868 GB, free: 74.2 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.9716, allocations: 5.312 kB / 0.868 GB, free: 74.2 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.9718, allocations: 54.77 kB / 0.8681 GB, free: 74.14 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.9719, allocations: 0.6903 MB / 0.8688 GB, free: 73.44 MB / 0.5419 GB Notification: Performance of SimCode: time 3.21e-07/0.9719, allocations: 0 / 0.8688 GB, free: 73.44 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)