Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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 7.0.3-maint.7.0.x/package.mo): time 1.279/1.279, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 184.9 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008233, allocations: 92.75 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3566/0.3574, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.5296, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/1.038, allocations: 131.4 MB / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.038, allocations: 79.62 kB / 1.013 GB, free: 7.508 MB / 0.6355 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.003345/1.041, allocations: 1.229 MB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/1.041, allocations: 12 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/1.041, allocations: 3.906 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/1.042, allocations: 171 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/1.042, allocations: 0 / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/1.042, allocations: 0 / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.043e-05/1.042, allocations: 7.938 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.581e-05/1.042, allocations: 25.7 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/1.042, allocations: 0 / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/1.042, allocations: 0 / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/1.042, allocations: 0 / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.798e-05/1.042, allocations: 126.2 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.415e-05/1.042, allocations: 25.92 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/1.042, allocations: 4.859 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/1.042, allocations: 437.5 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.042, allocations: 34.56 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.042, allocations: 0 / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/1.043, allocations: 37.62 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/1.043, allocations: 55.34 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.477e-05/1.043, allocations: 85 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/1.043, allocations: 25.7 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/1.043, allocations: 80.14 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/1.043, allocations: 3.906 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/1.043, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/1.043, allocations: 318.9 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/1.043, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/1.043, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/1.043, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.043, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.917e-05/1.043, allocations: 35.14 kB / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.043, allocations: 7.984 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.043, allocations: 0 / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.043, allocations: 8.031 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/1.043, allocations: 4 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/1.043, allocations: 0 / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/1.043, allocations: 6.469 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/1.043, allocations: 0 / 1.016 GB, free: 4.695 MB / 0.6355 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 5.582e-05/1.043, allocations: 101 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/1.043, allocations: 0 / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/1.043, allocations: 56.33 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.043, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.043, allocations: 8.031 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.043, allocations: 7.891 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.261e-05/1.043, allocations: 122.2 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.043, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/1.043, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.043, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/1.043, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/1.043, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.043, allocations: 3.938 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.338e-05/1.043, allocations: 64.47 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001913/1.044, allocations: 437 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/1.044, allocations: 77.11 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/1.044, allocations: 3.906 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/1.044, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/1.044, allocations: 4.062 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/1.044, allocations: 4 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.243e-05/1.044, allocations: 75.28 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007462/1.045, allocations: 23.94 kB / 1.017 GB, free: 3.633 MB / 0.6355 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.0002723/1.045, allocations: 142 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.483e-05/1.045, allocations: 4 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.045, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/1.045, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.811e-05/1.045, allocations: 0.75 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001228/1.045, allocations: 47.94 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.045, allocations: 0.6879 MB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of SimCode: time 1.313e-06/1.045, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)