Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1",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.373/1.373, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009677/0.0009678, allocations: 183.5 kB / 361.1 MB, free: 7.098 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.211/1.211, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008254/0.0008254, allocations: 96.83 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2116/0.2124, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.7331, allocations: 115.3 MB / 0.9638 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.8899, allocations: 137.4 MB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.8902, allocations: 67.95 kB / 1.098 GB, free: 2.547 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.005203/0.8954, allocations: 1.597 MB / 1.1 GB, free: 0.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.8955, allocations: 8.5 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8955, allocations: 13.28 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8957, allocations: 167 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.8957, allocations: 0.6562 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.8957, allocations: 0 / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.705e-05/0.8958, allocations: 8 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.297e-05/0.8959, allocations: 37.69 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.8959, allocations: 5.266 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.8959, allocations: 0 / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.8959, allocations: 0 / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.8963, allocations: 253 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.65e-05/0.8964, allocations: 25.73 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.8964, allocations: 9.484 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/0.8971, allocations: 448 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.8971, allocations: 31.06 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.454e-06/0.8971, allocations: 4.625 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.8974, allocations: 38.2 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8974, allocations: 59.38 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.8975, allocations: 93.88 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.8975, allocations: 25.7 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.8976, allocations: 84.14 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.8977, allocations: 3.906 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.8977, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8978, allocations: 317.4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.8978, allocations: 7.938 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.8978, allocations: 8 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.8979, allocations: 4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8979, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.193e-05/0.898, allocations: 45.59 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.898, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.898, allocations: 4 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.898, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.8982, allocations: 16.08 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.8982, allocations: 0.5625 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.8982, allocations: 8 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8982, allocations: 5.734 kB / 1.101 GB, free: 15.04 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.335e-05/0.8983, allocations: 108.8 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.8983, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.8985, allocations: 53 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8985, allocations: 2.531 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8985, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8985, allocations: 1.406 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.8986, allocations: 134.1 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8987, allocations: 0 / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.8987, allocations: 11.98 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8987, allocations: 5.188 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.8988, allocations: 4.031 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8988, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8988, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/0.8989, allocations: 147.4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002202/0.8991, allocations: 0.4999 MB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.8992, allocations: 89.09 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.8992, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.8993, allocations: 5.875 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.8993, allocations: 7.984 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.8993, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.905e-05/0.8994, allocations: 83.31 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008043/0.9002, allocations: 35.84 kB / 1.102 GB, free: 13.76 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.0002713/0.9005, allocations: 144 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.9006, allocations: 15.98 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9006, allocations: 0 / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.9006, allocations: 4 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.9008, allocations: 5.781 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.901, allocations: 56.86 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.9012, allocations: 0.688 MB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9012, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)