Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 184.2 kB / 7.803 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.5472/0.5472, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.297/1.297, allocations: 221.4 MB / 342.8 MB, free: 5.277 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.001103/0.001103, allocations: 104.2 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1682/0.1694, allocations: 78.44 MB / 494 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.5608, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.6721, allocations: 100.9 MB / 0.6515 GB, free: 9.234 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.6723, allocations: 71.95 kB / 0.6516 GB, free: 9.164 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005037/0.6774, allocations: 1.578 MB / 0.6531 GB, free: 7.574 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6774, allocations: 12.88 kB / 0.6531 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.6775, allocations: 3.188 kB / 0.6531 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6776, allocations: 160.6 kB / 0.6533 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6776, allocations: 3.906 kB / 0.6533 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.6776, allocations: 4 kB / 0.6533 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.764e-05/0.6777, allocations: 11.94 kB / 0.6533 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.092e-05/0.6778, allocations: 38.34 kB / 0.6533 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6778, allocations: 5.734 kB / 0.6533 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6778, allocations: 5.312 kB / 0.6533 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6778, allocations: 0 / 0.6533 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.6783, allocations: 245.5 kB / 0.6536 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.6783, allocations: 22.62 kB / 0.6536 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.6784, allocations: 17.62 kB / 0.6536 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.679, allocations: 435.3 kB / 0.654 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.6791, allocations: 35.62 kB / 0.6541 GB, free: 6.414 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6791, allocations: 1.812 kB / 0.6541 GB, free: 6.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.6792, allocations: 41.69 kB / 0.6541 GB, free: 6.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.6793, allocations: 51.41 kB / 0.6542 GB, free: 6.305 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.6793, allocations: 93 kB / 0.6542 GB, free: 6.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6794, allocations: 26.45 kB / 0.6543 GB, free: 6.176 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.6794, allocations: 92.52 kB / 0.6544 GB, free: 6.082 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.6794, allocations: 0.6562 kB / 0.6544 GB, free: 6.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.6794, allocations: 0 / 0.6544 GB, free: 6.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6795, allocations: 320.1 kB / 0.6547 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.6796, allocations: 8 kB / 0.6547 GB, free: 5.754 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.6796, allocations: 4 kB / 0.6547 GB, free: 5.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.6796, allocations: 5 kB / 0.6547 GB, free: 5.746 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6796, allocations: 0 / 0.6547 GB, free: 5.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.105e-05/0.6797, allocations: 43.23 kB / 0.6547 GB, free: 5.699 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.6797, allocations: 4 kB / 0.6547 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6798, allocations: 0 / 0.6547 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.6798, allocations: 4.516 kB / 0.6547 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6799, allocations: 13.44 kB / 0.6547 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6799, allocations: 3.516 kB / 0.6547 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.68, allocations: 13.45 kB / 0.6548 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.68, allocations: 6.375 kB / 0.6548 GB, free: 5.664 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 (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.904e-05/0.68, allocations: 105.5 kB / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6801, allocations: 1.625 kB / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.6802, allocations: 46.81 kB / 0.6549 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6802, allocations: 3.906 kB / 0.6549 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6802, allocations: 5.219 kB / 0.6549 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6802, allocations: 3.938 kB / 0.6549 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.6804, allocations: 142.2 kB / 0.6551 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6804, allocations: 0 / 0.6551 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.6804, allocations: 9.375 kB / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.6805, allocations: 4.156 kB / 0.6551 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.6805, allocations: 0 / 0.6551 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6805, allocations: 0 / 0.6551 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6805, allocations: 5.484 kB / 0.6551 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001189/0.6806, allocations: 135.5 kB / 0.6552 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002253/0.6808, allocations: 0.5155 MB / 0.6557 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.6809, allocations: 77.11 kB / 0.6558 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.6809, allocations: 0 / 0.6558 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.681, allocations: 14.05 kB / 0.6558 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.681, allocations: 3.906 kB / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.681, allocations: 0 / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.232e-05/0.6811, allocations: 83.31 kB / 0.6559 GB, free: 4.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008273/0.6819, allocations: 35.92 kB / 0.6559 GB, free: 4.391 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 (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.0002674/0.6822, allocations: 127.5 kB / 0.656 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.6823, allocations: 12 kB / 0.656 GB, free: 4.242 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6823, allocations: 4 kB / 0.656 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.6823, allocations: 4 kB / 0.6561 GB, free: 4.234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.6825, allocations: 0 / 0.6561 GB, free: 4.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.6827, allocations: 67.84 kB / 0.6561 GB, free: 4.145 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.683, allocations: 0.688 MB / 0.6568 GB, free: 3.43 MB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.683, allocations: 0 / 0.6568 GB, free: 3.43 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)