Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_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.431/1.431, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001038/0.001038, allocations: 181.2 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.239/1.239, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008798/0.0008799, allocations: 91.61 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2125/0.2134, allocations: 121.4 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.6969, allocations: 115.3 MB / 0.9638 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.8468, allocations: 136.7 MB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.8471, allocations: 74.11 kB / 1.097 GB, free: 3.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003681/0.8508, allocations: 1.278 MB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8509, allocations: 13.81 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.8509, allocations: 0 / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.851, allocations: 159.1 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.851, allocations: 3.906 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.851, allocations: 5.031 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.086e-05/0.8511, allocations: 3.938 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.872e-05/0.8511, allocations: 34.45 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.8511, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.8512, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.8512, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.8513, allocations: 126.2 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.722e-05/0.8514, allocations: 20.73 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.8514, allocations: 4.859 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.852, allocations: 439.8 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8521, allocations: 43.16 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.8521, allocations: 0 / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001684/0.8523, allocations: 34.7 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.8523, allocations: 52.81 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.8524, allocations: 85 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8524, allocations: 25.7 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.8524, allocations: 80.64 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.8525, allocations: 3.984 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.8525, allocations: 0.5938 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8526, allocations: 319 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.8526, allocations: 4 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.8526, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.8527, allocations: 0.5312 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8527, allocations: 6.281 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.257e-05/0.8527, allocations: 38.45 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.8528, allocations: 8 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8528, allocations: 0.5625 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8528, allocations: 0.6562 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.8528, allocations: 4.484 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8528, allocations: 2.312 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.8529, allocations: 0 / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.8529, allocations: 4.562 kB / 1.1 GB, free: 260 kB / 0.698 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 7.918e-05/0.853, allocations: 105.3 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.853, allocations: 3.906 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.611e-05/0.8531, allocations: 34.14 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8531, allocations: 0 / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8531, allocations: 0 / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.8531, allocations: 4.922 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.8532, allocations: 126.9 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8532, allocations: 1.75 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.8532, allocations: 1.438 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8533, allocations: 3.906 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8533, allocations: 1.594 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8533, allocations: 3.938 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8533, allocations: 4.562 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.266e-05/0.8534, allocations: 61.88 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002196/0.8536, allocations: 433.5 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.8537, allocations: 85.09 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.8537, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-06/0.8537, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.8537, allocations: 64 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.8537, allocations: 5.891 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.389e-05/0.8538, allocations: 79.22 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007546/0.8545, allocations: 35.84 kB / 1.101 GB, free: 15.19 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 (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.0002368/0.8548, allocations: 140 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.638e-05/0.8548, allocations: 7.984 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8548, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.8548, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.007e-05/0.8549, allocations: 6.656 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.8551, allocations: 44.02 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.8554, allocations: 0.688 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.8554, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)