Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0",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.006064/0.006064, allocations: 183 kB / 7.456 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7245/0.7245, 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.588/1.588, allocations: 221.3 MB / 395 MB, free: 10.28 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.0009283/0.0009287, allocations: 105.8 kB / 477.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4604/0.4614, allocations: 88.43 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.6491, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5059/1.155, allocations: 111 MB / 0.7417 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.155, allocations: 68.03 kB / 0.7417 GB, free: 10.56 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.007366/1.163, allocations: 2.439 MB / 0.7441 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.163, allocations: 7.688 kB / 0.7441 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/1.163, allocations: 9.016 kB / 0.7441 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.163, allocations: 164.6 kB / 0.7443 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/1.163, allocations: 0 / 0.7443 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/1.163, allocations: 3.812 kB / 0.7443 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.23e-05/1.163, allocations: 14.25 kB / 0.7443 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/1.163, allocations: 35.31 kB / 0.7443 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/1.163, allocations: 0 / 0.7443 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/1.163, allocations: 0 / 0.7443 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.163, allocations: 7.859 kB / 0.7443 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/1.163, allocations: 248.3 kB / 0.7446 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/1.164, allocations: 23.72 kB / 0.7446 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/1.164, allocations: 11.98 kB / 0.7446 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/1.164, allocations: 450.7 kB / 0.745 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/1.164, allocations: 34.41 kB / 0.7451 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/1.164, allocations: 0 / 0.7451 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001606/1.164, allocations: 37.72 kB / 0.7451 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/1.164, allocations: 55.44 kB / 0.7452 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/1.164, allocations: 93.69 kB / 0.7453 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/1.164, allocations: 25.7 kB / 0.7453 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/1.165, allocations: 81.31 kB / 0.7454 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/1.165, allocations: 11.72 kB / 0.7454 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.165, allocations: 0 / 0.7454 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/1.165, allocations: 324 kB / 0.7457 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/1.165, allocations: 6.906 kB / 0.7457 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/1.165, allocations: 7.875 kB / 0.7457 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/1.165, allocations: 5.703 kB / 0.7457 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.165, allocations: 0 / 0.7457 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.658e-05/1.165, allocations: 41.97 kB / 0.7457 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.165, allocations: 5.266 kB / 0.7457 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.165, allocations: 0 / 0.7457 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/1.165, allocations: 0 / 0.7457 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/1.165, allocations: 18.31 kB / 0.7458 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/1.165, allocations: 0 / 0.7458 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/1.165, allocations: 14.33 kB / 0.7458 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/1.165, allocations: 0 / 0.7458 GB, free: 24.38 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 5.773e-05/1.165, allocations: 104.9 kB / 0.7459 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/1.165, allocations: 1.406 kB / 0.7459 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.165, allocations: 54.59 kB / 0.7459 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.165, allocations: 0 / 0.7459 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.165, allocations: 2.047 kB / 0.7459 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.165, allocations: 3.906 kB / 0.7459 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/1.165, allocations: 134.8 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.165, allocations: 4 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/1.165, allocations: 10.05 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.165, allocations: 5.422 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/1.165, allocations: 4.031 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.165, allocations: 0 / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.165, allocations: 0 / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001062/1.166, allocations: 144.5 kB / 0.7462 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001838/1.166, allocations: 0.5098 MB / 0.7467 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/1.166, allocations: 77.11 kB / 0.7468 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/1.166, allocations: 1.641 kB / 0.7468 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/1.166, allocations: 9.406 kB / 0.7468 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/1.166, allocations: 1.453 kB / 0.7468 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1.166, allocations: 0 / 0.7468 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.787e-05/1.166, allocations: 84.38 kB / 0.7469 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008533/1.167, allocations: 47.7 kB / 0.7469 GB, free: 23.23 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.0003281/1.167, allocations: 164 kB / 0.7471 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.564e-05/1.167, allocations: 22.84 kB / 0.7471 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.167, allocations: 0 / 0.7471 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/1.167, allocations: 7.75 kB / 0.7471 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/1.167, allocations: 4.406 kB / 0.7471 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/1.168, allocations: 54.16 kB / 0.7472 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.168, allocations: 0.6972 MB / 0.7479 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.168, allocations: 0 / 0.7479 GB, free: 22.34 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)