Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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/Complex 4.0.0+maint.om/package.mo): time 0.00624/0.00624, 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.7454/0.7454, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.565/1.565, allocations: 221.3 MB / 395 MB, free: 10.2 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.001072/0.001071, allocations: 100.5 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4101/0.4112, allocations: 88.42 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.5706, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5061/1.077, allocations: 110.7 MB / 0.7414 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.077, allocations: 70.47 kB / 0.7415 GB, free: 10.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005056/1.082, allocations: 1.606 MB / 0.743 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.082, allocations: 8.438 kB / 0.743 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/1.082, allocations: 9.062 kB / 0.7431 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.082, allocations: 172 kB / 0.7432 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.082, allocations: 0 / 0.7432 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/1.082, allocations: 3.984 kB / 0.7432 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.968e-05/1.083, allocations: 19.66 kB / 0.7432 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/1.083, allocations: 35.02 kB / 0.7433 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.083, allocations: 1.594 kB / 0.7433 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.083, allocations: 0 / 0.7433 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.083, allocations: 3.938 kB / 0.7433 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/1.083, allocations: 251 kB / 0.7435 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/1.083, allocations: 24.95 kB / 0.7435 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/1.083, allocations: 12.02 kB / 0.7436 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.084, allocations: 444.7 kB / 0.744 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/1.084, allocations: 30.56 kB / 0.744 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/1.084, allocations: 0 / 0.744 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/1.084, allocations: 42.28 kB / 0.744 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/1.084, allocations: 51.41 kB / 0.7441 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/1.084, allocations: 97.81 kB / 0.7442 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.084, allocations: 29.64 kB / 0.7442 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/1.084, allocations: 80.14 kB / 0.7443 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.084, allocations: 3.906 kB / 0.7443 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/1.084, allocations: 0 / 0.7443 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.084, allocations: 324 kB / 0.7446 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/1.084, allocations: 0 / 0.7446 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/1.084, allocations: 10.88 kB / 0.7446 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/1.085, allocations: 3.906 kB / 0.7446 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.085, allocations: 4.062 kB / 0.7446 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.296e-05/1.085, allocations: 39.39 kB / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.085, allocations: 7.719 kB / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.085, allocations: 0 / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.085, allocations: 0 / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/1.085, allocations: 10.62 kB / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.085, allocations: 0 / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/1.085, allocations: 14.67 kB / 0.7447 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/1.085, allocations: 3.188 kB / 0.7447 GB, free: 24.61 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 (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 7.943e-05/1.085, allocations: 108.8 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/1.085, allocations: 1.266 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/1.085, allocations: 48.09 kB / 0.7448 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.085, allocations: 1.031 kB / 0.7449 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.085, allocations: 4.031 kB / 0.7449 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.085, allocations: 7.75 kB / 0.7449 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.085, allocations: 134.2 kB / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.085, allocations: 0 / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.649e-05/1.085, allocations: 12.3 kB / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.085, allocations: 0 / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.085, allocations: 0.875 kB / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.085, allocations: 0 / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.085, allocations: 7.875 kB / 0.745 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/1.086, allocations: 136.6 kB / 0.7451 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002742/1.086, allocations: 0.5088 MB / 0.7456 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/1.086, allocations: 82.38 kB / 0.7457 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.086, allocations: 11.81 kB / 0.7457 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/1.086, allocations: 6.688 kB / 0.7457 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/1.086, allocations: 5.281 kB / 0.7457 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/1.086, allocations: 3.938 kB / 0.7457 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.325e-05/1.086, allocations: 84.53 kB / 0.7458 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008104/1.087, allocations: 28.03 kB / 0.7458 GB, free: 23.45 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 (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.0002945/1.087, allocations: 142.9 kB / 0.746 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.092e-05/1.087, allocations: 11.47 kB / 0.746 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.087, allocations: 3.938 kB / 0.746 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/1.087, allocations: 7.156 kB / 0.746 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.088, allocations: 10.55 kB / 0.746 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/1.088, allocations: 55.91 kB / 0.7461 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/1.088, allocations: 0.6929 MB / 0.7467 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/1.088, allocations: 4 kB / 0.7468 GB, free: 22.56 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)