Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009618/0.0009616, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.229/1.229, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.00107/0.00107, allocations: 94.42 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2635/0.2646, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.7612, allocations: 115.3 MB / 0.9638 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.9183, allocations: 137.6 MB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.9186, allocations: 73.84 kB / 1.098 GB, free: 2.281 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.007281/0.9259, allocations: 2.426 MB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.9259, allocations: 8.5 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.926, allocations: 5.312 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.9261, allocations: 163.6 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.9261, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.9262, allocations: 2.5 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.963e-05/0.9262, allocations: 12.78 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.266e-05/0.9263, allocations: 41.39 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.9264, allocations: 3.906 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9264, allocations: 4.625 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9264, allocations: 4.453 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.9268, allocations: 244.1 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.9269, allocations: 26.58 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.9269, allocations: 8.922 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.9275, allocations: 449.4 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9275, allocations: 30.56 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.9276, allocations: 4 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.9277, allocations: 45.62 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.9278, allocations: 51.41 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/0.9278, allocations: 93.03 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.9279, allocations: 25.7 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.9279, allocations: 80.14 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.9279, allocations: 15.83 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.9279, allocations: 0 / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9281, allocations: 314.8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.9281, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.9281, allocations: 8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.9281, allocations: 8.062 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9281, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.043e-05/0.9282, allocations: 46.44 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9282, allocations: 7.984 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9283, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.9283, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.9284, allocations: 11.94 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.9284, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.9284, allocations: 16.02 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.9285, allocations: 0 / 1.102 GB, free: 13.95 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.053e-05/0.9285, allocations: 104.9 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.9286, allocations: 4 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.9287, allocations: 45 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9287, allocations: 1.938 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9287, allocations: 4.031 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9287, allocations: 0.5625 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.9289, allocations: 146.1 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.9289, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.929, allocations: 9.031 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.929, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.929, allocations: 3.984 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.929, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.929, allocations: 7.938 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001452/0.9291, allocations: 135.5 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002232/0.9294, allocations: 0.5038 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.9294, allocations: 85.73 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.9294, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.9295, allocations: 13.86 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.9296, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.9296, allocations: 1.125 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.889e-05/0.9296, allocations: 83.97 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000822/0.9305, allocations: 47.84 kB / 1.103 GB, free: 12.66 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.0003453/0.9308, allocations: 168.1 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.9309, allocations: 16 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9309, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.9309, allocations: 8 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.9311, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.9313, allocations: 68.36 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.9315, allocations: 0.688 MB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9316, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)