Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.7068/0.7068, allocations: 141.8 MB / 149.1 MB, free: 3.887 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.00111/0.00111, allocations: 184.5 kB / 181.9 MB, free: 15.62 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.251/1.251, allocations: 221.4 MB / 436 MB, free: 8.789 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.0009494/0.0009495, allocations: 99.92 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 277.5 kB / 0.5884 GB, free: 11.82 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1673/0.1692, allocations: 89.65 MB / 0.676 GB, free: 2.094 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.572, allocations: 82.75 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.6816, allocations: 108.4 MB / 0.8626 GB, free: 3.84 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.6818, allocations: 75.94 kB / 0.8627 GB, free: 3.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.007231/0.6891, allocations: 2.517 MB / 0.8652 GB, free: 1.242 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6891, allocations: 9.188 kB / 0.8652 GB, free: 1.234 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.6891, allocations: 0 / 0.8652 GB, free: 1.234 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.6892, allocations: 171 kB / 0.8653 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.6892, allocations: 1.156 kB / 0.8653 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.6893, allocations: 0 / 0.8653 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.086e-05/0.6893, allocations: 15.94 kB / 0.8654 GB, free: 1.012 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.195e-05/0.6894, allocations: 31.36 kB / 0.8654 GB, free: 0.9766 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.6894, allocations: 0 / 0.8654 GB, free: 0.9766 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.6894, allocations: 0 / 0.8654 GB, free: 0.9766 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6894, allocations: 3.984 kB / 0.8654 GB, free: 0.9727 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.6897, allocations: 250.8 kB / 0.8656 GB, free: 0.6914 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.089e-05/0.6898, allocations: 26.58 kB / 0.8657 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.6898, allocations: 12.86 kB / 0.8657 GB, free: 0.6406 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/0.6903, allocations: 453.5 kB / 0.8661 GB, free: 108 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.6904, allocations: 30.56 kB / 0.8661 GB, free: 68 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6904, allocations: 4 kB / 0.8661 GB, free: 64 kB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.6905, allocations: 49.59 kB / 0.8662 GB, free: 8 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.6906, allocations: 51.41 kB / 0.8662 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.6907, allocations: 89 kB / 0.8663 GB, free: 15.85 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6907, allocations: 25.7 kB / 0.8663 GB, free: 15.82 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.6907, allocations: 88.08 kB / 0.8664 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.6908, allocations: 3.906 kB / 0.8664 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.6908, allocations: 3.938 kB / 0.8664 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6909, allocations: 322.9 kB / 0.8667 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.6909, allocations: 4 kB / 0.8667 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.6909, allocations: 4 kB / 0.8668 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.691, allocations: 4 kB / 0.8668 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.691, allocations: 6.469 kB / 0.8668 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.76e-05/0.6911, allocations: 45.61 kB / 0.8668 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6911, allocations: 4 kB / 0.8668 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6911, allocations: 10.56 kB / 0.8668 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6911, allocations: 96 / 0.8668 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6912, allocations: 12 kB / 0.8668 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6912, allocations: 0 / 0.8668 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.6913, allocations: 11.98 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.6913, allocations: 0 / 0.8668 GB, free: 15.29 MB / 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.0001396/0.6915, allocations: 109 kB / 0.8669 GB, free: 15.18 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.6915, allocations: 7.906 kB / 0.867 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.6916, allocations: 48.94 kB / 0.867 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6916, allocations: 0 / 0.867 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6917, allocations: 0 / 0.867 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6917, allocations: 0 / 0.867 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6918, allocations: 138.1 kB / 0.8671 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.6918, allocations: 0 / 0.8671 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.6919, allocations: 16.03 kB / 0.8671 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6919, allocations: 0 / 0.8671 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6919, allocations: 4 kB / 0.8672 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6919, allocations: 3.984 kB / 0.8672 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.692, allocations: 0 / 0.8672 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001437/0.6921, allocations: 131.5 kB / 0.8673 GB, free: 14.78 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003155/0.6924, allocations: 0.5116 MB / 0.8678 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.6925, allocations: 85.02 kB / 0.8679 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.6925, allocations: 0 / 0.8679 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.6926, allocations: 7.984 kB / 0.8679 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.6927, allocations: 10.19 kB / 0.8679 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6927, allocations: 0 / 0.8679 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.862e-05/0.6928, allocations: 79.28 kB / 0.868 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009209/0.6937, allocations: 51.86 kB / 0.868 GB, free: 14 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.0004027/0.6941, allocations: 171.5 kB / 0.8682 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.6942, allocations: 12 kB / 0.8682 GB, free: 13.81 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6942, allocations: 0 / 0.8682 GB, free: 13.81 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.6942, allocations: 11.94 kB / 0.8682 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.6944, allocations: 3.906 kB / 0.8682 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.6946, allocations: 64.86 kB / 0.8683 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.6949, allocations: 0.6919 MB / 0.8689 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.6949, allocations: 0 / 0.8689 GB, free: 12.99 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)