Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7348/0.7348, allocations: 127.4 MB / 134.6 MB, free: 4.121 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 189.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009392/0.0009393, allocations: 83.38 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3549/0.3558, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.5482, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/1.079, allocations: 102 MB / 0.7206 GB, free: 10.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.08, allocations: 71.95 kB / 0.7206 GB, free: 10.39 MB / 490.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.00387/1.083, allocations: 1.108 MB / 0.7217 GB, free: 9.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.083, allocations: 8 kB / 0.7217 GB, free: 9.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/1.084, allocations: 0 / 0.7217 GB, free: 9.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.084, allocations: 171 kB / 0.7219 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/1.084, allocations: 0 / 0.7219 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.084, allocations: 0 / 0.7219 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.868e-05/1.084, allocations: 12 kB / 0.7219 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.721e-05/1.084, allocations: 41.62 kB / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.084, allocations: 0 / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.084, allocations: 0 / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.084, allocations: 0 / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/1.084, allocations: 249.4 kB / 0.7222 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/1.084, allocations: 26.61 kB / 0.7222 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/1.084, allocations: 12.92 kB / 0.7222 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/1.085, allocations: 93.73 kB / 0.7223 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/1.085, allocations: 30.56 kB / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/1.085, allocations: 0 / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000203/1.085, allocations: 45.55 kB / 0.7224 GB, free: 8.449 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/1.085, allocations: 51.41 kB / 0.7224 GB, free: 8.387 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/1.085, allocations: 93 kB / 0.7225 GB, free: 8.289 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/1.085, allocations: 31.78 kB / 0.7225 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/1.085, allocations: 88.16 kB / 0.7226 GB, free: 8.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/1.085, allocations: 7.844 kB / 0.7226 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/1.085, allocations: 0.75 kB / 0.7226 GB, free: 8.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/1.085, allocations: 314.8 kB / 0.7229 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/1.085, allocations: 4 kB / 0.7229 GB, free: 7.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/1.085, allocations: 8 kB / 0.723 GB, free: 7.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/1.085, allocations: 0 / 0.723 GB, free: 7.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.085, allocations: 4 kB / 0.723 GB, free: 7.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/1.086, allocations: 49.69 kB / 0.723 GB, free: 7.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.086, allocations: 10.56 kB / 0.723 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.086, allocations: 3.938 kB / 0.723 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.086, allocations: 0 / 0.723 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/1.086, allocations: 15.98 kB / 0.723 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.086, allocations: 0 / 0.723 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/1.086, allocations: 12.03 kB / 0.723 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/1.086, allocations: 0 / 0.723 GB, free: 7.73 MB / 490.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.033e-05/1.086, allocations: 104.4 kB / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/1.086, allocations: 3.906 kB / 0.7231 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/1.086, allocations: 52.94 kB / 0.7232 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.086, allocations: 0 / 0.7232 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.086, allocations: 3.984 kB / 0.7232 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.086, allocations: 0 / 0.7232 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.086, allocations: 138.3 kB / 0.7233 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.086, allocations: 0 / 0.7233 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/1.086, allocations: 15.92 kB / 0.7233 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.086, allocations: 3.906 kB / 0.7234 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.086, allocations: 0 / 0.7234 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.086, allocations: 4 kB / 0.7234 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.086, allocations: 0 / 0.7234 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/1.087, allocations: 135.5 kB / 0.7235 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002311/1.087, allocations: 0.5131 MB / 0.724 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/1.087, allocations: 81.02 kB / 0.7241 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.087, allocations: 7.984 kB / 0.7241 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/1.087, allocations: 12 kB / 0.7241 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/1.087, allocations: 7.984 kB / 0.7241 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/1.087, allocations: 0 / 0.7241 GB, free: 6.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.463e-05/1.087, allocations: 83.28 kB / 0.7242 GB, free: 6.484 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008017/1.088, allocations: 12 kB / 0.7242 GB, free: 6.473 MB / 490.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.0002917/1.088, allocations: 123.5 kB / 0.7243 GB, free: 6.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.036e-05/1.088, allocations: 16 kB / 0.7243 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.088, allocations: 0 / 0.7243 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/1.088, allocations: 4 kB / 0.7243 GB, free: 6.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/1.088, allocations: 15.97 kB / 0.7243 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/1.089, allocations: 55.86 kB / 0.7244 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.089, allocations: 0.6919 MB / 0.7251 GB, free: 5.512 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/1.089, allocations: 0 / 0.7251 GB, free: 5.512 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)