Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.825/0.825, allocations: 141.8 MB / 149.1 MB, free: 4.156 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 190.6 kB / 181.9 MB, free: 15.85 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.4 MB / 436 MB, free: 9.039 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 94.09 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 277.3 kB / 0.5884 GB, free: 12.02 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1639/0.1657, allocations: 89.65 MB / 0.676 GB, free: 2.289 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.4916, allocations: 82.76 MB / 0.7568 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.5945, allocations: 108 MB / 0.8623 GB, free: 4.395 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.5947, allocations: 71.94 kB / 0.8624 GB, free: 4.328 MB / 0.5263 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.003046/0.5978, allocations: 1.083 MB / 0.8634 GB, free: 3.227 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5978, allocations: 9.531 kB / 0.8634 GB, free: 3.219 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.5979, allocations: 8 kB / 0.8634 GB, free: 3.211 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.598, allocations: 172.2 kB / 0.8636 GB, free: 3.004 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.598, allocations: 0 / 0.8636 GB, free: 3.004 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.598, allocations: 5.688 kB / 0.8636 GB, free: 3 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.267e-05/0.5981, allocations: 8.906 kB / 0.8636 GB, free: 2.992 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.616e-05/0.5981, allocations: 33.69 kB / 0.8637 GB, free: 2.953 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.5981, allocations: 0.5625 kB / 0.8637 GB, free: 2.953 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.5982, allocations: 3.984 kB / 0.8637 GB, free: 2.949 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.5982, allocations: 0.6562 kB / 0.8637 GB, free: 2.949 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.5985, allocations: 249.1 kB / 0.8639 GB, free: 2.672 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.5985, allocations: 27.73 kB / 0.8639 GB, free: 2.637 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.5986, allocations: 12.92 kB / 0.8639 GB, free: 2.621 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.5987, allocations: 85.75 kB / 0.864 GB, free: 2.52 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.5988, allocations: 31.41 kB / 0.8641 GB, free: 2.48 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.5988, allocations: 0.8125 kB / 0.8641 GB, free: 2.48 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.5989, allocations: 49.59 kB / 0.8641 GB, free: 2.426 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.5989, allocations: 52.72 kB / 0.8642 GB, free: 2.363 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.599, allocations: 93 kB / 0.8642 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.599, allocations: 26.64 kB / 0.8643 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.599, allocations: 80.14 kB / 0.8643 GB, free: 2.152 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.5991, allocations: 8.375 kB / 0.8643 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.5991, allocations: 2.812 kB / 0.8644 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.5991, allocations: 320 kB / 0.8647 GB, free: 1.824 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.5992, allocations: 7.938 kB / 0.8647 GB, free: 1.816 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.5992, allocations: 4.656 kB / 0.8647 GB, free: 1.812 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.5992, allocations: 9.281 kB / 0.8647 GB, free: 1.805 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5992, allocations: 0 / 0.8647 GB, free: 1.805 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.254e-05/0.5993, allocations: 43.08 kB / 0.8647 GB, free: 1.758 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.5993, allocations: 4 kB / 0.8647 GB, free: 1.754 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5993, allocations: 4 kB / 0.8647 GB, free: 1.75 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.5993, allocations: 0 / 0.8647 GB, free: 1.75 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.5994, allocations: 16.64 kB / 0.8647 GB, free: 1.734 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5994, allocations: 0 / 0.8647 GB, free: 1.734 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.5995, allocations: 11.98 kB / 0.8648 GB, free: 1.723 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.5995, allocations: 0 / 0.8648 GB, free: 1.723 MB / 0.5263 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 4.607e-05/0.5996, allocations: 105 kB / 0.8649 GB, free: 1.613 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.5996, allocations: 7.906 kB / 0.8649 GB, free: 1.605 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5997, allocations: 52.94 kB / 0.8649 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5997, allocations: 0 / 0.8649 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5997, allocations: 0 / 0.8649 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5997, allocations: 0 / 0.8649 GB, free: 1.551 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.5998, allocations: 138.1 kB / 0.865 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5999, allocations: 0 / 0.865 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.5999, allocations: 11.98 kB / 0.8651 GB, free: 1.367 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5999, allocations: 8.031 kB / 0.8651 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.5999, allocations: 0 / 0.8651 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6, allocations: 0 / 0.8651 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6, allocations: 0 / 0.8651 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.975e-05/0.6001, allocations: 143.4 kB / 0.8652 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001242/0.6002, allocations: 0.5039 MB / 0.8657 GB, free: 0.6797 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.6002, allocations: 85.02 kB / 0.8658 GB, free: 0.5781 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.6002, allocations: 4.844 kB / 0.8658 GB, free: 0.5742 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.6003, allocations: 11.98 kB / 0.8658 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.6004, allocations: 0 / 0.8658 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.6004, allocations: 0 / 0.8658 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.676e-05/0.6004, allocations: 83.31 kB / 0.8659 GB, free: 492 kB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007907/0.6012, allocations: 23.98 kB / 0.8659 GB, free: 468 kB / 0.5263 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.0001728/0.6014, allocations: 123.5 kB / 0.866 GB, free: 332 kB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 6.455e-05/0.6014, allocations: 23.92 kB / 0.866 GB, free: 308 kB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.6015, allocations: 0 / 0.866 GB, free: 308 kB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.6015, allocations: 4.844 kB / 0.866 GB, free: 304 kB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.6016, allocations: 11.84 kB / 0.866 GB, free: 292 kB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.6018, allocations: 55.92 kB / 0.8661 GB, free: 212 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.6021, allocations: 0.688 MB / 0.8668 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.6021, allocations: 0 / 0.8668 GB, free: 15.49 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)