Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_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.002607/0.002607, allocations: 184.5 kB / 7.462 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.6872/0.6872, 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.458/1.458, allocations: 221.3 MB / 395 MB, free: 10.21 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.001154/0.001154, allocations: 98.31 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5222/0.5234, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.7143, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6064/1.321, allocations: 110.7 MB / 0.7414 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.321, allocations: 75.88 kB / 0.7415 GB, free: 10.98 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.003554/1.325, allocations: 1.081 MB / 0.7425 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.325, allocations: 9.547 kB / 0.7425 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/1.325, allocations: 8.406 kB / 0.7425 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.325, allocations: 160.4 kB / 0.7427 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.325, allocations: 0 / 0.7427 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.325, allocations: 7.828 kB / 0.7427 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.973e-05/1.325, allocations: 12.17 kB / 0.7427 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.112e-05/1.325, allocations: 35.09 kB / 0.7428 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.325, allocations: 0 / 0.7428 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.325, allocations: 8.641 kB / 0.7428 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.325, allocations: 0 / 0.7428 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/1.326, allocations: 244.8 kB / 0.743 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.119e-05/1.326, allocations: 30.53 kB / 0.743 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/1.326, allocations: 12.14 kB / 0.743 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/1.326, allocations: 84.27 kB / 0.7431 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.326, allocations: 32.06 kB / 0.7431 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.326, allocations: 0 / 0.7431 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/1.326, allocations: 38.61 kB / 0.7432 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.326, allocations: 60.8 kB / 0.7432 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/1.326, allocations: 98.48 kB / 0.7433 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/1.326, allocations: 25.7 kB / 0.7434 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/1.326, allocations: 80.14 kB / 0.7434 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/1.326, allocations: 9.906 kB / 0.7434 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.326, allocations: 0 / 0.7434 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.326, allocations: 320.9 kB / 0.7437 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/1.326, allocations: 0 / 0.7437 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/1.326, allocations: 14.78 kB / 0.7438 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/1.326, allocations: 5.703 kB / 0.7438 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.326, allocations: 0 / 0.7438 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.966e-05/1.327, allocations: 38.14 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.327, allocations: 7.719 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.327, allocations: 0.9375 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.327, allocations: 0 / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/1.327, allocations: 18.27 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.327, allocations: 3.938 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/1.327, allocations: 12.05 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.327, allocations: 0 / 0.7438 GB, free: 25.27 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.483e-05/1.327, allocations: 112.7 kB / 0.744 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/1.327, allocations: 1.266 kB / 0.744 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.327, allocations: 51.88 kB / 0.744 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.327, allocations: 0 / 0.744 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.327, allocations: 0 / 0.744 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.327, allocations: 7.781 kB / 0.744 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/1.327, allocations: 135.9 kB / 0.7441 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.327, allocations: 0 / 0.7441 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/1.327, allocations: 9.953 kB / 0.7442 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/1.327, allocations: 4.031 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/1.327, allocations: 0 / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.327, allocations: 1.125 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.327, allocations: 3.875 kB / 0.7442 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001243/1.327, allocations: 142.8 kB / 0.7443 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002072/1.328, allocations: 0.5093 MB / 0.7448 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/1.328, allocations: 78.84 kB / 0.7449 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/1.328, allocations: 3.844 kB / 0.7449 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/1.328, allocations: 5.344 kB / 0.7449 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/1.328, allocations: 6.281 kB / 0.7449 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/1.328, allocations: 0 / 0.7449 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.277e-05/1.328, allocations: 91.23 kB / 0.745 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007866/1.329, allocations: 20.77 kB / 0.745 GB, free: 24.11 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.000223/1.329, allocations: 120.3 kB / 0.7451 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/1.329, allocations: 24.64 kB / 0.7451 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/1.329, allocations: 0 / 0.7451 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/1.329, allocations: 3.969 kB / 0.7451 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/1.329, allocations: 10.06 kB / 0.7451 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/1.329, allocations: 55.8 kB / 0.7452 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/1.33, allocations: 0.6925 MB / 0.7459 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.33, allocations: 0 / 0.7459 GB, free: 23.24 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)