Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, 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.0009267/0.0009267, allocations: 185.2 kB / 316 MB, free: 3.543 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.135/1.135, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0008602/0.0008601, allocations: 86.28 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3413/0.3422, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.5303, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/1.04, allocations: 132.1 MB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.041, allocations: 74.2 kB / 1.014 GB, free: 6.391 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.004732/1.045, allocations: 1.599 MB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/1.045, allocations: 11.94 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/1.046, allocations: 3.984 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/1.046, allocations: 170.9 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/1.046, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/1.046, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.9e-05/1.046, allocations: 10.31 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/1.046, allocations: 37.69 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.046, allocations: 0 / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.046, allocations: 4 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.046, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/1.046, allocations: 241 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/1.046, allocations: 33.73 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/1.046, allocations: 11.92 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/1.047, allocations: 442.2 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/1.047, allocations: 38.19 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.047, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/1.047, allocations: 36.95 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/1.047, allocations: 55.31 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/1.047, allocations: 92.98 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.047, allocations: 25.7 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/1.047, allocations: 91.39 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/1.047, allocations: 11.88 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.047, allocations: 0 / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/1.047, allocations: 313.4 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/1.047, allocations: 7.688 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/1.047, allocations: 4 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/1.047, allocations: 3.438 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.047, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.789e-05/1.048, allocations: 44.81 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.048, allocations: 4.094 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.048, allocations: 4 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.048, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/1.048, allocations: 11.98 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.048, allocations: 11.84 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/1.048, allocations: 4.875 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/1.048, allocations: 4 kB / 1.017 GB, free: 3.066 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 5.617e-05/1.048, allocations: 109 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/1.048, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/1.048, allocations: 59.42 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.048, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.048, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.048, allocations: 4 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/1.048, allocations: 133.7 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.048, allocations: 4.031 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/1.048, allocations: 11.98 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.048, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/1.048, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.048, allocations: 3.906 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.048, allocations: 0 / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001085/1.048, allocations: 147.1 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001847/1.049, allocations: 0.5027 MB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/1.049, allocations: 81.28 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/1.049, allocations: 3.906 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/1.049, allocations: 12.06 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/1.049, allocations: 7.969 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/1.049, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.222e-05/1.049, allocations: 82.47 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007838/1.05, allocations: 23.94 kB / 1.018 GB, free: 1.82 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.0002604/1.05, allocations: 135.2 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.699e-05/1.05, allocations: 18.62 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.05, allocations: 4.062 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/1.05, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/1.05, allocations: 11.92 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/1.05, allocations: 62.34 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.051, allocations: 0.6918 MB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.051, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)