Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.643/2.643, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001638/0.001637, allocations: 177.3 kB / 360.3 MB, free: 7.551 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.835/1.835, allocations: 205.1 MB / 0.6187 GB, free: 13.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.001235/0.001234, allocations: 95.69 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2929/0.2941, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.9323, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/1.185, allocations: 136.5 MB / 1.096 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.185, allocations: 72.98 kB / 1.096 GB, free: 4.344 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.005903/1.191, allocations: 1.277 MB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.191, allocations: 8.5 kB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/1.191, allocations: 0 / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/1.191, allocations: 163 kB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.191, allocations: 8.422 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.191, allocations: 0.5 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.648e-05/1.191, allocations: 0.7812 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/1.192, allocations: 33.69 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.192, allocations: 0.625 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.192, allocations: 5.469 kB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.192, allocations: 0 / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/1.192, allocations: 124.3 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/1.192, allocations: 15.2 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/1.192, allocations: 13.39 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009928/1.193, allocations: 440.8 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.193, allocations: 39.41 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/1.193, allocations: 0.5938 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001671/1.193, allocations: 30.39 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.193, allocations: 55.39 kB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.411e-05/1.193, allocations: 85.69 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.193, allocations: 26.42 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/1.193, allocations: 80.14 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/1.193, allocations: 5.219 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.193, allocations: 0 / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.193, allocations: 318.1 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/1.193, allocations: 0 / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-06/1.193, allocations: 1.469 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/1.194, allocations: 4 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.194, allocations: 7.844 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.153e-05/1.194, allocations: 34.27 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.194, allocations: 4.594 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.194, allocations: 4.891 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.194, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/1.194, allocations: 4 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.194, allocations: 2.797 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/1.194, allocations: 1.531 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.194, allocations: 0 / 1.099 GB, free: 1.352 MB / 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.724e-05/1.194, allocations: 105.3 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/1.194, allocations: 12.03 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/1.194, allocations: 42.59 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.194, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.194, allocations: 2.062 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.194, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/1.194, allocations: 126.2 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.194, allocations: 2 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/1.194, allocations: 4 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.194, allocations: 3.906 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/1.194, allocations: 0.7031 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.194, allocations: 4.031 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.194, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.439e-05/1.194, allocations: 57.12 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002611/1.195, allocations: 445.4 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/1.195, allocations: 81.17 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/1.195, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/1.195, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/1.195, allocations: 4 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/1.195, allocations: 0 / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.62e-05/1.195, allocations: 75.28 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001115/1.196, allocations: 35.83 kB / 1.1 GB, free: 276 kB / 0.698 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.0003986/1.196, allocations: 135.6 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/1.196, allocations: 8 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.196, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/1.197, allocations: 4 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.197, allocations: 3.484 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/1.197, allocations: 44.02 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/1.197, allocations: 0.6887 MB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/1.197, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)