Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_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.004702/0.004702, allocations: 179.3 kB / 7.455 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7984/0.7984, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.682/1.682, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009553/0.0009554, allocations: 97.72 kB / 477.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5487/0.5497, allocations: 88.43 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.7741, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6226/1.397, allocations: 110.7 MB / 0.7414 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/1.397, allocations: 72.98 kB / 0.7415 GB, free: 10.52 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.004885/1.402, allocations: 1.604 MB / 0.743 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.402, allocations: 11.66 kB / 0.7431 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/1.402, allocations: 7.906 kB / 0.7431 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.402, allocations: 168.5 kB / 0.7432 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.402, allocations: 3.812 kB / 0.7432 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/1.402, allocations: 0 / 0.7432 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.52e-05/1.402, allocations: 14.98 kB / 0.7432 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/1.402, allocations: 39.89 kB / 0.7433 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.402, allocations: 0 / 0.7433 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/1.402, allocations: 0 / 0.7433 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.402, allocations: 0 / 0.7433 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/1.403, allocations: 244.9 kB / 0.7435 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/1.403, allocations: 31.03 kB / 0.7435 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/1.403, allocations: 16.33 kB / 0.7436 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/1.404, allocations: 436 kB / 0.744 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.404, allocations: 34.41 kB / 0.744 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/1.404, allocations: 4 kB / 0.744 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/1.404, allocations: 38.48 kB / 0.744 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/1.404, allocations: 52.86 kB / 0.7441 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/1.404, allocations: 96.47 kB / 0.7442 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.404, allocations: 27.16 kB / 0.7442 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/1.404, allocations: 80.14 kB / 0.7443 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/1.404, allocations: 7.75 kB / 0.7443 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.404, allocations: 0 / 0.7443 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/1.404, allocations: 323.7 kB / 0.7446 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/1.404, allocations: 3.844 kB / 0.7446 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/1.404, allocations: 7.688 kB / 0.7446 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/1.404, allocations: 5.375 kB / 0.7446 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.404, allocations: 0 / 0.7446 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.613e-05/1.404, allocations: 42.19 kB / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/1.404, allocations: 3.844 kB / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.404, allocations: 0 / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.404, allocations: 0 / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/1.404, allocations: 19.66 kB / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.404, allocations: 0 / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/1.404, allocations: 14.3 kB / 0.7447 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.404, allocations: 0.75 kB / 0.7447 GB, free: 24.39 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 6.745e-05/1.405, allocations: 112.6 kB / 0.7448 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/1.405, allocations: 0 / 0.7448 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/1.405, allocations: 53.03 kB / 0.7449 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.405, allocations: 0 / 0.7449 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.405, allocations: 0 / 0.7449 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.405, allocations: 5.828 kB / 0.7449 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/1.405, allocations: 134.6 kB / 0.745 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.405, allocations: 0 / 0.745 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/1.405, allocations: 15.03 kB / 0.745 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.405, allocations: 0 / 0.745 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/1.405, allocations: 4.75 kB / 0.745 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.405, allocations: 0 / 0.745 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.405, allocations: 0 / 0.745 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/1.405, allocations: 136.9 kB / 0.7451 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002144/1.405, allocations: 0.5114 MB / 0.7456 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/1.405, allocations: 80.95 kB / 0.7457 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.405, allocations: 0 / 0.7457 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/1.405, allocations: 14.78 kB / 0.7457 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/1.406, allocations: 5.672 kB / 0.7457 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.406, allocations: 4.031 kB / 0.7457 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.606e-05/1.406, allocations: 86.84 kB / 0.7458 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008259/1.406, allocations: 25.02 kB / 0.7459 GB, free: 23.24 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.0002444/1.407, allocations: 138.4 kB / 0.746 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/1.407, allocations: 19.39 kB / 0.746 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.407, allocations: 0 / 0.746 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/1.407, allocations: 7.688 kB / 0.746 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/1.407, allocations: 3.078 kB / 0.746 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/1.407, allocations: 59.47 kB / 0.7461 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/1.407, allocations: 0.6927 MB / 0.7467 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.407, allocations: 0 / 0.7467 GB, free: 22.36 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)