Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",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.00239/0.00239, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6756/0.6756, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.57/1.57, allocations: 221.3 MB / 395 MB, free: 10.22 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.0009873/0.0009872, allocations: 105.9 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5119/0.513, allocations: 88.42 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.6975, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5866/1.284, allocations: 110.7 MB / 0.7414 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.284, allocations: 69.91 kB / 0.7415 GB, free: 10.55 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.003555/1.288, allocations: 1.081 MB / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.288, allocations: 9.516 kB / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/1.288, allocations: 11.59 kB / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/1.288, allocations: 160.3 kB / 0.7427 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/1.288, allocations: 0 / 0.7427 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/1.288, allocations: 4.594 kB / 0.7427 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.093e-05/1.288, allocations: 7.75 kB / 0.7427 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/1.288, allocations: 36.31 kB / 0.7427 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/1.288, allocations: 7.797 kB / 0.7427 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/1.289, allocations: 4 kB / 0.7427 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.289, allocations: 0 / 0.7427 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/1.289, allocations: 249.6 kB / 0.743 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/1.289, allocations: 26.02 kB / 0.743 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/1.289, allocations: 13.2 kB / 0.743 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.289, allocations: 91 kB / 0.7431 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.289, allocations: 32.27 kB / 0.7431 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/1.289, allocations: 0 / 0.7431 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/1.289, allocations: 42.53 kB / 0.7432 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.289, allocations: 60.12 kB / 0.7432 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/1.29, allocations: 92.92 kB / 0.7433 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.29, allocations: 25.7 kB / 0.7434 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/1.29, allocations: 80.94 kB / 0.7434 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/1.29, allocations: 11.59 kB / 0.7434 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.29, allocations: 0 / 0.7434 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.29, allocations: 319.3 kB / 0.7437 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/1.29, allocations: 7.969 kB / 0.7438 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/1.29, allocations: 8.344 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/1.29, allocations: 4.375 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.29, allocations: 0 / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.428e-05/1.29, allocations: 38.8 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.29, allocations: 8.109 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/1.29, allocations: 0 / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/1.29, allocations: 0 / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/1.29, allocations: 14.66 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.29, allocations: 0.75 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/1.29, allocations: 12.72 kB / 0.7438 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/1.29, allocations: 4.641 kB / 0.7438 GB, free: 24.84 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.147e-05/1.29, allocations: 108.7 kB / 0.7439 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.29, allocations: 0.5625 kB / 0.7439 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.29, allocations: 51.27 kB / 0.744 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.29, allocations: 0 / 0.744 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.29, allocations: 3.844 kB / 0.744 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.29, allocations: 4.609 kB / 0.744 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/1.291, allocations: 134.5 kB / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.291, allocations: 0 / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/1.291, allocations: 10.59 kB / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.291, allocations: 4.031 kB / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/1.291, allocations: 0.6094 kB / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.291, allocations: 0 / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.291, allocations: 3.656 kB / 0.7441 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001211/1.291, allocations: 137.4 kB / 0.7443 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002225/1.291, allocations: 0.509 MB / 0.7448 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/1.291, allocations: 84.72 kB / 0.7449 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/1.291, allocations: 0.5625 kB / 0.7449 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/1.291, allocations: 9.984 kB / 0.7449 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/1.291, allocations: 5.109 kB / 0.7449 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.291, allocations: 1.031 kB / 0.7449 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.556e-05/1.291, allocations: 87.03 kB / 0.745 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007894/1.292, allocations: 19.8 kB / 0.745 GB, free: 23.7 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.0002446/1.292, allocations: 129.8 kB / 0.7451 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/1.292, allocations: 15.28 kB / 0.7451 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.292, allocations: 0 / 0.7451 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/1.292, allocations: 10.94 kB / 0.7451 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/1.293, allocations: 0.5625 kB / 0.7451 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/1.293, allocations: 57.69 kB / 0.7452 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/1.293, allocations: 0.6929 MB / 0.7459 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.293, allocations: 128 / 0.7459 GB, free: 22.82 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)