Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.649/2.649, allocations: 284.8 MB / 292.1 MB, free: 9.914 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.002326/0.002326, allocations: 179.2 kB / 360.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.1 MB / 0.6187 GB, free: 3.348 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 91.33 kB / 0.7317 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5547/0.5569, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.7978, allocations: 115.2 MB / 0.9627 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6112/1.409, allocations: 137.1 MB / 1.097 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.409, allocations: 72.91 kB / 1.097 GB, free: 44.14 MB / 0.7136 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.006585/1.416, allocations: 1.553 MB / 1.098 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.416, allocations: 9.625 kB / 1.098 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/1.416, allocations: 9.844 kB / 1.098 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/1.416, allocations: 159.1 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.416, allocations: 3.797 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/1.416, allocations: 3.188 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.535e-05/1.416, allocations: 6.906 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.35e-05/1.416, allocations: 38.55 kB / 1.098 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.416, allocations: 4.75 kB / 1.098 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/1.416, allocations: 0 / 1.098 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.416, allocations: 3.906 kB / 1.098 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/1.417, allocations: 247 kB / 1.099 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/1.417, allocations: 22.95 kB / 1.099 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/1.417, allocations: 7.797 kB / 1.099 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/1.418, allocations: 440.5 kB / 1.099 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.418, allocations: 34.56 kB / 1.099 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.418, allocations: 4.734 kB / 1.099 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002274/1.418, allocations: 48.94 kB / 1.099 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/1.418, allocations: 51.41 kB / 1.099 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/1.418, allocations: 90.44 kB / 1.099 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/1.418, allocations: 25.7 kB / 1.099 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/1.418, allocations: 90.52 kB / 1.1 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.418, allocations: 7.938 kB / 1.1 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/1.418, allocations: 0 / 1.1 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/1.418, allocations: 324 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/1.418, allocations: 3.875 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/1.418, allocations: 7.188 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/1.418, allocations: 0 / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.418, allocations: 0 / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/1.419, allocations: 42.33 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.419, allocations: 14.53 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.419, allocations: 4.781 kB / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.419, allocations: 3.375 kB / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.419, allocations: 11 kB / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.419, allocations: 0 / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/1.419, allocations: 14.78 kB / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/1.419, allocations: 1.875 kB / 1.1 GB, free: 42.04 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 5.446e-05/1.419, allocations: 104.9 kB / 1.1 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/1.419, allocations: 6.953 kB / 1.1 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/1.419, allocations: 47.94 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.419, allocations: 2.625 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.419, allocations: 3.844 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.419, allocations: 0 / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/1.419, allocations: 137.2 kB / 1.1 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.419, allocations: 4.031 kB / 1.1 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.42, allocations: 8.828 kB / 1.1 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.42, allocations: 3.5 kB / 1.1 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/1.42, allocations: 1.5 kB / 1.1 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.42, allocations: 3.984 kB / 1.1 GB, free: 41.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.42, allocations: 0 / 1.1 GB, free: 41.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001297/1.42, allocations: 143 kB / 1.1 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002731/1.42, allocations: 0.5018 MB / 1.101 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/1.42, allocations: 84.61 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.42, allocations: 3.969 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.42, allocations: 13.2 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/1.42, allocations: 3.625 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.42, allocations: 0 / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.382e-05/1.42, allocations: 78.94 kB / 1.101 GB, free: 56.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001158/1.422, allocations: 29.39 kB / 1.101 GB, free: 56.9 MB / 0.7292 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.0003653/1.422, allocations: 131.6 kB / 1.101 GB, free: 56.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001164/1.422, allocations: 16.94 kB / 1.101 GB, free: 56.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.422, allocations: 4.062 kB / 1.101 GB, free: 56.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/1.422, allocations: 7.781 kB / 1.101 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/1.422, allocations: 10.28 kB / 1.101 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/1.423, allocations: 58.08 kB / 1.101 GB, free: 56.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/1.423, allocations: 0.6905 MB / 1.102 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/1.423, allocations: 3.875 kB / 1.102 GB, free: 56.02 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)