Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.000971/0.000971, allocations: 181 kB / 316 MB, free: 3.527 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.14/1.14, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0007921/0.0007921, allocations: 92.58 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3571/0.358, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.5414, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/1.071, allocations: 132.1 MB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/1.071, allocations: 72.14 kB / 1.014 GB, free: 6.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004441/1.075, allocations: 1.562 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.075, allocations: 12 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/1.075, allocations: 0 / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/1.075, allocations: 174.8 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/1.075, allocations: 4.75 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/1.076, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.549e-05/1.076, allocations: 7.125 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.847e-05/1.076, allocations: 37.64 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/1.076, allocations: 4 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/1.076, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.076, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/1.076, allocations: 249 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/1.076, allocations: 26.45 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/1.076, allocations: 11.98 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/1.077, allocations: 445.4 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/1.077, allocations: 30.56 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.077, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/1.077, allocations: 36.64 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/1.077, allocations: 55.31 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/1.077, allocations: 96.97 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.077, allocations: 29.7 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/1.077, allocations: 87.77 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/1.077, allocations: 7.938 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/1.077, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.077, allocations: 313.4 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/1.077, allocations: 10.94 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/1.077, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/1.077, allocations: 3.938 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.077, allocations: 4 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.616e-05/1.077, allocations: 41.5 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/1.077, allocations: 8.094 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.077, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/1.077, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/1.077, allocations: 15.98 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.077, allocations: 3.906 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/1.078, allocations: 8 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.078, allocations: 4.812 kB / 1.017 GB, free: 3.176 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 (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.151e-05/1.078, allocations: 105 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/1.078, allocations: 0 / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/1.078, allocations: 64.23 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.078, allocations: 4 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.078, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.078, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/1.078, allocations: 133.5 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.078, allocations: 4.031 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/1.078, allocations: 11.98 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.078, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/1.078, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.078, allocations: 3.906 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.078, allocations: 4.547 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001062/1.078, allocations: 139.1 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00021/1.078, allocations: 0.5057 MB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/1.078, allocations: 81.09 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/1.078, allocations: 3.906 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/1.079, allocations: 16 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/1.079, allocations: 3.984 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/1.079, allocations: 4 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.316e-05/1.079, allocations: 78.34 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007766/1.079, allocations: 23.94 kB / 1.018 GB, free: 1.926 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 (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.000237/1.08, allocations: 127.2 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.109e-05/1.08, allocations: 14.94 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.08, allocations: 7.375 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/1.08, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/1.08, allocations: 7.984 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/1.08, allocations: 59.28 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/1.08, allocations: 0.688 MB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.08, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)