Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.8412/0.8412, allocations: 141.8 MB / 149.1 MB, free: 15.61 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 177 kB / 181.9 MB, free: 11.99 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.222/1.222, allocations: 221.3 MB / 436 MB, free: 4.594 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.0009638/0.0009637, allocations: 103.5 kB / 0.507 GB, free: 18.9 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 280.1 kB / 0.5884 GB, free: 5.906 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3632/0.365, allocations: 89.64 MB / 0.676 GB, free: 138.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.5086, allocations: 82.78 MB / 0.7568 GB, free: 87 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.6238, allocations: 107.6 MB / 0.8619 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.6241, allocations: 81.8 kB / 0.862 GB, free: 11.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00681/0.6309, allocations: 2.188 MB / 0.8642 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.631, allocations: 8 kB / 0.8642 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.631, allocations: 0 / 0.8642 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.6311, allocations: 167 kB / 0.8643 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6312, allocations: 0 / 0.8643 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.6312, allocations: 0 / 0.8643 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.139e-05/0.6312, allocations: 4 kB / 0.8643 GB, free: 8.676 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.842e-05/0.6313, allocations: 33.61 kB / 0.8644 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.6313, allocations: 0 / 0.8644 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.6313, allocations: 0 / 0.8644 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6313, allocations: 0 / 0.8644 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.6315, allocations: 130.2 kB / 0.8645 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 2.92e-05/0.6315, allocations: 14.58 kB / 0.8645 GB, free: 8.449 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.6315, allocations: 8.797 kB / 0.8645 GB, free: 8.438 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.6322, allocations: 457.6 kB / 0.8649 GB, free: 7.898 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.6322, allocations: 30.56 kB / 0.865 GB, free: 7.859 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.6322, allocations: 4 kB / 0.865 GB, free: 7.855 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.6324, allocations: 33.61 kB / 0.865 GB, free: 7.816 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6324, allocations: 55.39 kB / 0.8651 GB, free: 7.75 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.142e-05/0.6325, allocations: 85 kB / 0.8651 GB, free: 7.66 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6325, allocations: 25.7 kB / 0.8652 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.6325, allocations: 80.14 kB / 0.8652 GB, free: 7.547 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.6325, allocations: 0 / 0.8652 GB, free: 7.547 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.6325, allocations: 0 / 0.8652 GB, free: 7.547 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6327, allocations: 322.9 kB / 0.8655 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.6327, allocations: 0 / 0.8655 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.6327, allocations: 3.938 kB / 0.8655 GB, free: 7.219 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.6328, allocations: 0 / 0.8655 GB, free: 7.219 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6328, allocations: 4 kB / 0.8656 GB, free: 7.215 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.875e-05/0.6329, allocations: 37.55 kB / 0.8656 GB, free: 7.172 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6329, allocations: 4 kB / 0.8656 GB, free: 7.168 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6329, allocations: 3.984 kB / 0.8656 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6329, allocations: 4 kB / 0.8656 GB, free: 7.16 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.633, allocations: 12.03 kB / 0.8656 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.633, allocations: 0 / 0.8656 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-06/0.633, allocations: 0 / 0.8656 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.633, allocations: 0 / 0.8656 GB, free: 7.148 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 (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 5.636e-05/0.633, allocations: 101 kB / 0.8657 GB, free: 7.043 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.6331, allocations: 0 / 0.8657 GB, free: 7.043 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.941e-05/0.6332, allocations: 40.59 kB / 0.8657 GB, free: 6.996 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6332, allocations: 3.938 kB / 0.8658 GB, free: 6.992 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6332, allocations: 4.031 kB / 0.8658 GB, free: 6.988 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6332, allocations: 4 kB / 0.8658 GB, free: 6.984 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.6333, allocations: 122.2 kB / 0.8659 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6333, allocations: 0 / 0.8659 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.6333, allocations: 0 / 0.8659 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6333, allocations: 4 kB / 0.8659 GB, free: 6.824 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-06/0.6333, allocations: 0 / 0.8659 GB, free: 6.824 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6333, allocations: 0 / 0.8659 GB, free: 6.824 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6333, allocations: 3.906 kB / 0.8659 GB, free: 6.82 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.992e-05/0.6334, allocations: 61.12 kB / 0.8659 GB, free: 6.742 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001754/0.6336, allocations: 445.4 kB / 0.8664 GB, free: 6.285 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.6336, allocations: 77.11 kB / 0.8664 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.6336, allocations: 0 / 0.8664 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.6337, allocations: 0 / 0.8664 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.6337, allocations: 64 / 0.8664 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.6337, allocations: 8 kB / 0.8664 GB, free: 6.184 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.695e-05/0.6337, allocations: 75.28 kB / 0.8665 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008506/0.6346, allocations: 51.92 kB / 0.8666 GB, free: 6.059 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 (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.0003489/0.6349, allocations: 171.1 kB / 0.8667 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 4.85e-05/0.635, allocations: 4 kB / 0.8667 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.635, allocations: 0 / 0.8667 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.635, allocations: 0 / 0.8667 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.609e-05/0.6351, allocations: 11.91 kB / 0.8667 GB, free: 5.863 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.6352, allocations: 44.02 kB / 0.8668 GB, free: 5.797 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.6355, allocations: 0.6919 MB / 0.8675 GB, free: 5.078 MB / 0.5419 GB Notification: Performance of SimCode: time 2.8e-07/0.6355, allocations: 0 / 0.8675 GB, free: 5.078 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)