Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",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.417/1.417, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001058/0.001058, allocations: 181.2 kB / 361.1 MB, free: 7.074 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.236/1.236, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007738/0.0007736, allocations: 85.7 kB / 0.7325 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2041/0.2049, allocations: 121.5 MB / 0.8511 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.7592, allocations: 115.3 MB / 0.9638 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.9148, allocations: 137.3 MB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.9151, allocations: 73.39 kB / 1.098 GB, free: 2.617 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.004792/0.9199, allocations: 1.555 MB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.92, allocations: 8.5 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.92, allocations: 8.656 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.9201, allocations: 163.9 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.9202, allocations: 1.25 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.9202, allocations: 4 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.581e-05/0.9203, allocations: 8 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.9204, allocations: 42.16 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9204, allocations: 4.516 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.9204, allocations: 2.797 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.9204, allocations: 5.344 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.9209, allocations: 241.1 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.921, allocations: 20.27 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.9211, allocations: 12.92 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.9217, allocations: 444.1 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.9217, allocations: 31.56 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.9217, allocations: 0.75 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.9219, allocations: 42.2 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.922, allocations: 55.89 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.922, allocations: 94.25 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.9221, allocations: 25.7 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.9221, allocations: 89.55 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.9221, allocations: 3.906 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.9221, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9223, allocations: 318.2 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.9223, allocations: 4.594 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.9223, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.9224, allocations: 12.61 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9224, allocations: 6.719 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.661e-05/0.9225, allocations: 45.61 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.9225, allocations: 7.938 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9225, allocations: 6.125 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.9225, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.9226, allocations: 11.98 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9226, allocations: 4 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.9227, allocations: 12.02 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.9227, allocations: 0 / 1.101 GB, free: 15.15 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.288e-05/0.9228, allocations: 108.9 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.9228, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.923, allocations: 47.33 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.923, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.923, allocations: 4.031 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.923, allocations: 4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.9231, allocations: 138.1 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9231, allocations: 4.609 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.9232, allocations: 11.98 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9232, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.9232, allocations: 3.938 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.9233, allocations: 1.188 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9233, allocations: 4 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/0.9234, allocations: 139.5 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002207/0.9236, allocations: 0.5077 MB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.9237, allocations: 77.17 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9237, allocations: 4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.9238, allocations: 11.98 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.9238, allocations: 0.6094 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.9239, allocations: 2.469 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-05/0.9239, allocations: 87.22 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007952/0.9247, allocations: 27.84 kB / 1.102 GB, free: 13.88 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.0002786/0.925, allocations: 140.3 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.9251, allocations: 15.98 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9251, allocations: 0 / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.9251, allocations: 8 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.9253, allocations: 0 / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.9255, allocations: 68.61 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.9257, allocations: 0.6855 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9258, allocations: 4.125 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)