Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.4/1.4, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 185.3 kB / 361.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 0.6195 GB, free: 10.35 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 97.86 kB / 0.7326 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2068/0.2076, allocations: 121.4 MB / 0.8512 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.7003, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.8464, allocations: 137.7 MB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.8467, allocations: 70.59 kB / 1.098 GB, free: 2.309 MB / 0.698 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.007995/0.8547, allocations: 2.508 MB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8547, allocations: 8.5 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.8548, allocations: 3.906 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8549, allocations: 163.7 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.855, allocations: 0.5 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.855, allocations: 2.156 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.076e-05/0.8551, allocations: 16.48 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.8552, allocations: 38.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8552, allocations: 3.906 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8552, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.8552, allocations: 1.875 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.8557, allocations: 249.5 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.8558, allocations: 27.52 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.8558, allocations: 4.859 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.8566, allocations: 461.5 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8566, allocations: 30.56 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.8566, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.8569, allocations: 41.72 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.857, allocations: 59.34 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.8571, allocations: 89.98 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.8571, allocations: 29.7 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.8572, allocations: 84.08 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.8572, allocations: 11.84 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.8572, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8573, allocations: 314.8 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.8574, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.8574, allocations: 12 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.8574, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8574, allocations: 5.594 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.8576, allocations: 41.61 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8576, allocations: 4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8576, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8576, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.8577, allocations: 20.08 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.8577, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.8578, allocations: 15.92 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8578, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 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 6.487e-05/0.8579, allocations: 104.9 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.8579, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.8581, allocations: 50.69 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8581, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8581, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8581, allocations: 0.6094 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.8582, allocations: 138.1 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8582, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.8583, allocations: 13.48 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8583, allocations: 4.031 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8583, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.8583, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8583, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001188/0.8585, allocations: 147.4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002087/0.8587, allocations: 0.5077 MB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.8587, allocations: 81.72 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.8588, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.8588, allocations: 11.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.8589, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.8589, allocations: 4 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.406e-05/0.8589, allocations: 79.88 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008651/0.8598, allocations: 55.77 kB / 1.104 GB, free: 12.59 MB / 0.7136 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.0004248/0.8602, allocations: 176.4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.8603, allocations: 12 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8603, allocations: 0.9375 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.8604, allocations: 8 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.8605, allocations: 6.188 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.8608, allocations: 60.67 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.861, allocations: 0.692 MB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.861, allocations: 4 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)