Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_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.002006/0.002006, allocations: 182.7 kB / 7.804 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4819/0.4819, allocations: 90.86 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 86.42 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1592/0.1603, allocations: 78.46 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.4895, allocations: 72.3 MB / 0.553 GB, free: 73.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.6039, allocations: 100.9 MB / 0.6515 GB, free: 9.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.6042, allocations: 67.97 kB / 0.6516 GB, free: 9.094 MB / 474.7 MB 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.003847/0.6081, allocations: 1.082 MB / 0.6527 GB, free: 7.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6081, allocations: 9.031 kB / 0.6527 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.6082, allocations: 4 kB / 0.6527 GB, free: 7.984 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6083, allocations: 159.1 kB / 0.6528 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6084, allocations: 6.25 kB / 0.6528 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.6084, allocations: 5.406 kB / 0.6528 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.501e-05/0.6085, allocations: 16.52 kB / 0.6528 GB, free: 7.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.359e-05/0.6085, allocations: 29.7 kB / 0.6529 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6085, allocations: 1.094 kB / 0.6529 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.6086, allocations: 0 / 0.6529 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6086, allocations: 4 kB / 0.6529 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.609, allocations: 261.4 kB / 0.6531 GB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.6091, allocations: 19.11 kB / 0.6531 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.6091, allocations: 13.45 kB / 0.6532 GB, free: 7.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.6093, allocations: 85.88 kB / 0.6532 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6093, allocations: 35.47 kB / 0.6533 GB, free: 7.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6093, allocations: 0.75 kB / 0.6533 GB, free: 7.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.6095, allocations: 41.64 kB / 0.6533 GB, free: 7.203 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.6096, allocations: 53.19 kB / 0.6534 GB, free: 7.141 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.6096, allocations: 101 kB / 0.6535 GB, free: 7.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.6097, allocations: 26.73 kB / 0.6535 GB, free: 7.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.6097, allocations: 84.61 kB / 0.6536 GB, free: 6.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.6097, allocations: 3.938 kB / 0.6536 GB, free: 6.914 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.6097, allocations: 1.156 kB / 0.6536 GB, free: 6.914 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6099, allocations: 318.8 kB / 0.6539 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.6099, allocations: 4.812 kB / 0.6539 GB, free: 6.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.6099, allocations: 4.75 kB / 0.6539 GB, free: 6.586 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.61, allocations: 11.98 kB / 0.6539 GB, free: 6.574 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.61, allocations: 0.875 kB / 0.6539 GB, free: 6.574 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.891e-05/0.6101, allocations: 34.33 kB / 0.6539 GB, free: 6.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6101, allocations: 8 kB / 0.6539 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6101, allocations: 3.156 kB / 0.6539 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.6101, allocations: 0 / 0.6539 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.6102, allocations: 20.7 kB / 0.654 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.6102, allocations: 6.625 kB / 0.654 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.6103, allocations: 15.89 kB / 0.654 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6103, allocations: 0 / 0.654 GB, free: 6.492 MB / 474.7 MB 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.261e-05/0.6104, allocations: 101 kB / 0.6541 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.6105, allocations: 4 kB / 0.6541 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.6106, allocations: 48.19 kB / 0.6541 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6106, allocations: 4.594 kB / 0.6541 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6106, allocations: 0 / 0.6541 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.6106, allocations: 6.281 kB / 0.6541 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.6108, allocations: 134.2 kB / 0.6543 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6108, allocations: 0 / 0.6543 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.6109, allocations: 15.98 kB / 0.6543 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6109, allocations: 1.688 kB / 0.6543 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.6109, allocations: 0 / 0.6543 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6109, allocations: 0 / 0.6543 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6109, allocations: 0 / 0.6543 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001547/0.6111, allocations: 145.8 kB / 0.6544 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002578/0.6113, allocations: 0.5085 MB / 0.6549 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.6114, allocations: 77.86 kB / 0.655 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.6115, allocations: 0 / 0.655 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6116, allocations: 9.844 kB / 0.655 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.6116, allocations: 7.891 kB / 0.655 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.6116, allocations: 4.625 kB / 0.655 GB, free: 5.348 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.468e-05/0.6117, allocations: 80.16 kB / 0.6551 GB, free: 5.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008258/0.6125, allocations: 20 kB / 0.6551 GB, free: 5.25 MB / 474.7 MB 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.0002342/0.6127, allocations: 126.3 kB / 0.6552 GB, free: 5.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.042e-05/0.6128, allocations: 12.78 kB / 0.6552 GB, free: 5.105 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6128, allocations: 288 / 0.6552 GB, free: 5.105 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.6129, allocations: 8 kB / 0.6552 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.613, allocations: 0 / 0.6552 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.6133, allocations: 67.77 kB / 0.6553 GB, free: 5.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.6136, allocations: 0.6841 MB / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6136, allocations: 3.938 kB / 0.656 GB, free: 4.293 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)