Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_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.004199/0.004199, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6899/0.6899, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009675, allocations: 93.44 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4642/0.4653, allocations: 88.43 MB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.6953, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5966/1.292, allocations: 109.9 MB / 0.7407 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/1.292, allocations: 78.8 kB / 0.7407 GB, free: 10.81 MB / 0.4948 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.00397/1.296, allocations: 1.243 MB / 0.742 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/1.296, allocations: 15.06 kB / 0.742 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/1.297, allocations: 1.5 kB / 0.742 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.297, allocations: 167 kB / 0.7421 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.297, allocations: 0 / 0.7421 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/1.297, allocations: 0 / 0.7421 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.141e-05/1.297, allocations: 1.406 kB / 0.7421 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/1.297, allocations: 29.48 kB / 0.7422 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.297, allocations: 0 / 0.7422 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.297, allocations: 0 / 0.7422 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.297, allocations: 0 / 0.7422 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/1.297, allocations: 131.8 kB / 0.7423 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/1.297, allocations: 25.98 kB / 0.7423 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/1.297, allocations: 8.609 kB / 0.7423 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/1.298, allocations: 440.4 kB / 0.7427 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/1.298, allocations: 30.56 kB / 0.7428 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/1.298, allocations: 0 / 0.7428 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002846/1.298, allocations: 30.86 kB / 0.7428 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.299, allocations: 51.41 kB / 0.7428 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/1.299, allocations: 85 kB / 0.7429 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.299, allocations: 25.7 kB / 0.7429 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/1.299, allocations: 83.98 kB / 0.743 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/1.299, allocations: 9.031 kB / 0.743 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.299, allocations: 0 / 0.743 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.299, allocations: 314.8 kB / 0.7433 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/1.299, allocations: 7.875 kB / 0.7433 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/1.299, allocations: 0 / 0.7433 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/1.299, allocations: 3.844 kB / 0.7433 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.299, allocations: 1.5 kB / 0.7434 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.971e-05/1.299, allocations: 29.55 kB / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.299, allocations: 5.375 kB / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.299, allocations: 4 kB / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.299, allocations: 3.875 kB / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/1.299, allocations: 0 / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.299, allocations: 0 / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/1.299, allocations: 1.547 kB / 0.7434 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/1.299, allocations: 0 / 0.7434 GB, free: 24.81 MB / 0.5105 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 0.0001144/1.299, allocations: 108.7 kB / 0.7435 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/1.299, allocations: 1.375 kB / 0.7435 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.3, allocations: 46.64 kB / 0.7435 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.3, allocations: 0 / 0.7435 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.3, allocations: 0 / 0.7435 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.3, allocations: 0 / 0.7435 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.3, allocations: 130.9 kB / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.3, allocations: 6.219 kB / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/1.3, allocations: 0 / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.3, allocations: 1.453 kB / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/1.3, allocations: 0 / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.3, allocations: 0 / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.3, allocations: 0 / 0.7437 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001711/1.3, allocations: 62.16 kB / 0.7437 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003352/1.3, allocations: 439.4 kB / 0.7442 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/1.3, allocations: 80.95 kB / 0.7442 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/1.301, allocations: 5.406 kB / 0.7442 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/1.301, allocations: 4 kB / 0.7442 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/1.301, allocations: 0 / 0.7442 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/1.301, allocations: 3.906 kB / 0.7442 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.548e-05/1.301, allocations: 75.28 kB / 0.7443 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008278/1.301, allocations: 31.98 kB / 0.7443 GB, free: 23.8 MB / 0.5105 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.0002966/1.302, allocations: 133.9 kB / 0.7445 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/1.302, allocations: 5.203 kB / 0.7445 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.302, allocations: 3.938 kB / 0.7445 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/1.302, allocations: 8 kB / 0.7445 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/1.302, allocations: 3.844 kB / 0.7445 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/1.302, allocations: 38.19 kB / 0.7445 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/1.302, allocations: 0.6904 MB / 0.7452 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.302, allocations: 0 / 0.7452 GB, free: 22.92 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)