Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.559/1.559, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001101/0.001101, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.308/1.308, allocations: 205.1 MB / 0.6256 GB, free: 7.48 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.0009179/0.000918, allocations: 79.88 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.258/0.259, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.9721, allocations: 116.3 MB / 0.9727 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/1.164, allocations: 137.6 MB / 1.107 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.164, allocations: 79.94 kB / 1.107 GB, free: 12.76 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004116/1.168, allocations: 1.278 MB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.168, allocations: 15.5 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/1.168, allocations: 0 / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.168, allocations: 159.1 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.168, allocations: 3.906 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.168, allocations: 0.6562 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.087e-05/1.168, allocations: 0 / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.86e-05/1.168, allocations: 29.7 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.168, allocations: 0 / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.168, allocations: 0.6875 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.168, allocations: 0 / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/1.169, allocations: 130.9 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/1.169, allocations: 24.48 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/1.169, allocations: 4.859 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006571/1.169, allocations: 444.3 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.169, allocations: 35.62 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.169, allocations: 4 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/1.17, allocations: 30.48 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/1.17, allocations: 56.09 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.88e-05/1.17, allocations: 85 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/1.17, allocations: 27.14 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/1.17, allocations: 80.64 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.17, allocations: 4.797 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/1.17, allocations: 0 / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.17, allocations: 318.2 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/1.17, allocations: 3.25 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/1.17, allocations: 7.938 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/1.17, allocations: 0 / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.17, allocations: 3.906 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.224e-05/1.17, allocations: 29.7 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.17, allocations: 4.75 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.17, allocations: 4 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.17, allocations: 1.312 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/1.17, allocations: 6.234 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/1.17, allocations: 0 / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/1.17, allocations: 0 / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.17, allocations: 4.656 kB / 1.11 GB, free: 9.754 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 (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.529e-05/1.17, allocations: 105.6 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/1.17, allocations: 6.25 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/1.17, allocations: 36.64 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.171, allocations: 0.5312 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.171, allocations: 0 / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.171, allocations: 4.484 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/1.171, allocations: 122.8 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.171, allocations: 4 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/1.171, allocations: 1.875 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.171, allocations: 3.906 kB / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.171, allocations: 2 kB / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/1.171, allocations: 0 / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.171, allocations: 1.031 kB / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.015e-05/1.171, allocations: 63.09 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002257/1.171, allocations: 439.4 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/1.171, allocations: 81.09 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/1.171, allocations: 4.5 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/1.171, allocations: 0.7812 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/1.171, allocations: 3.984 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/1.171, allocations: 0.625 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.409e-05/1.171, allocations: 75.5 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000793/1.172, allocations: 35.84 kB / 1.111 GB, free: 8.688 MB / 0.7136 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.0002698/1.172, allocations: 135.1 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.194e-05/1.172, allocations: 8.641 kB / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.172, allocations: 0 / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/1.172, allocations: 3.938 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.165e-05/1.172, allocations: 0 / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/1.173, allocations: 40.92 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.173, allocations: 0.6881 MB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.173, allocations: 0 / 1.112 GB, free: 7.754 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)