Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.531/0.531, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.4 MB / 342.8 MB, free: 5.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 84.78 kB / 415.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1864/0.1875, allocations: 78.46 MB / 494 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.6156, allocations: 72.31 MB / 0.553 GB, free: 73.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.7377, allocations: 100.1 MB / 0.6508 GB, free: 9.977 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.738, allocations: 76.92 kB / 0.6509 GB, free: 9.902 MB / 474.7 MB 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.003894/0.7419, allocations: 1.249 MB / 0.6521 GB, free: 8.629 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.742, allocations: 8.688 kB / 0.6521 GB, free: 8.621 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.742, allocations: 3.906 kB / 0.6521 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.7421, allocations: 160.7 kB / 0.6522 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.7421, allocations: 4 kB / 0.6523 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.7422, allocations: 0 / 0.6523 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.21e-05/0.7422, allocations: 7.922 kB / 0.6523 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.7423, allocations: 26.2 kB / 0.6523 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7423, allocations: 4.719 kB / 0.6523 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.7423, allocations: 0 / 0.6523 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7423, allocations: 0.625 kB / 0.6523 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.7425, allocations: 131.3 kB / 0.6524 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/0.7425, allocations: 18.52 kB / 0.6524 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.7426, allocations: 9.922 kB / 0.6524 GB, free: 8.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.7432, allocations: 435.5 kB / 0.6529 GB, free: 7.656 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.7432, allocations: 34.78 kB / 0.6529 GB, free: 7.617 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.7433, allocations: 4.969 kB / 0.6529 GB, free: 7.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.7434, allocations: 25.7 kB / 0.6529 GB, free: 7.582 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.7435, allocations: 57.22 kB / 0.653 GB, free: 7.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.042e-05/0.7435, allocations: 89 kB / 0.6531 GB, free: 7.422 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.7435, allocations: 29.69 kB / 0.6531 GB, free: 7.387 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.7436, allocations: 80.14 kB / 0.6532 GB, free: 7.305 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.7436, allocations: 4.688 kB / 0.6532 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.7436, allocations: 0 / 0.6532 GB, free: 7.301 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7437, allocations: 311.8 kB / 0.6535 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.7437, allocations: 0 / 0.6535 GB, free: 6.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.7437, allocations: 8.938 kB / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.7438, allocations: 1.094 kB / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7438, allocations: 0 / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.168e-05/0.7438, allocations: 29.7 kB / 0.6535 GB, free: 6.945 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.7439, allocations: 4.906 kB / 0.6535 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7439, allocations: 4 kB / 0.6535 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7439, allocations: 5.828 kB / 0.6535 GB, free: 6.934 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.7439, allocations: 3.984 kB / 0.6535 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.744, allocations: 0 / 0.6535 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.744, allocations: 2.062 kB / 0.6535 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.744, allocations: 3.906 kB / 0.6535 GB, free: 6.926 MB / 474.7 MB 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 6.738e-05/0.7441, allocations: 106.2 kB / 0.6536 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.7441, allocations: 0 / 0.6536 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.7442, allocations: 43.27 kB / 0.6537 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7442, allocations: 0 / 0.6537 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.7442, allocations: 4.922 kB / 0.6537 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7442, allocations: 3.938 kB / 0.6537 GB, free: 6.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.7443, allocations: 127.2 kB / 0.6538 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7443, allocations: 4 kB / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.7443, allocations: 0 / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.7443, allocations: 1 kB / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.7443, allocations: 0 / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7443, allocations: 1 kB / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7443, allocations: 0.8125 kB / 0.6538 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.979e-05/0.7444, allocations: 69.55 kB / 0.6539 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002065/0.7446, allocations: 434.6 kB / 0.6543 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.7447, allocations: 81.69 kB / 0.6544 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.7447, allocations: 5.156 kB / 0.6544 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-06/0.7447, allocations: 3.906 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.7447, allocations: 0 / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.7448, allocations: 2.344 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.247e-05/0.7448, allocations: 78.28 kB / 0.6544 GB, free: 5.887 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008012/0.7456, allocations: 20.66 kB / 0.6545 GB, free: 5.867 MB / 474.7 MB 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.0002867/0.7459, allocations: 139.5 kB / 0.6546 GB, free: 5.723 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.746, allocations: 6.406 kB / 0.6546 GB, free: 5.719 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.746, allocations: 0 / 0.6546 GB, free: 5.719 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.746, allocations: 15.92 kB / 0.6546 GB, free: 5.703 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.744e-05/0.7461, allocations: 2.031 kB / 0.6546 GB, free: 5.703 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.7463, allocations: 44.84 kB / 0.6547 GB, free: 5.637 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.7466, allocations: 0.6802 MB / 0.6553 GB, free: 4.93 MB / 474.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7466, allocations: 4.969 kB / 0.6553 GB, free: 4.926 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)