Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.7075/0.7075, allocations: 141.8 MB / 149.1 MB, free: 3.633 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.001671/0.001671, allocations: 180.8 kB / 181.9 MB, free: 15.4 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.352/1.352, allocations: 221.4 MB / 436 MB, free: 8.52 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.0009393/0.0009392, allocations: 97.45 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 277.6 kB / 0.5884 GB, free: 11.61 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1685/0.1704, allocations: 89.65 MB / 0.676 GB, free: 1.875 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.5163, allocations: 82.76 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.6265, allocations: 107.3 MB / 0.8616 GB, free: 4.703 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.6268, allocations: 84.53 kB / 0.8617 GB, free: 4.625 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002253/0.629, allocations: 0.7574 MB / 0.8624 GB, free: 3.832 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6291, allocations: 10.09 kB / 0.8624 GB, free: 3.824 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.6291, allocations: 0 / 0.8624 GB, free: 3.824 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.6292, allocations: 160.2 kB / 0.8626 GB, free: 3.629 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6292, allocations: 6.703 kB / 0.8626 GB, free: 3.625 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.6292, allocations: 0 / 0.8626 GB, free: 3.625 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.876e-05/0.6293, allocations: 4.594 kB / 0.8626 GB, free: 3.621 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5e-05/0.6294, allocations: 30.36 kB / 0.8626 GB, free: 3.586 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6294, allocations: 0 / 0.8626 GB, free: 3.586 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.6294, allocations: 0.5938 kB / 0.8626 GB, free: 3.586 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.6294, allocations: 0 / 0.8626 GB, free: 3.586 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.063e-05/0.6295, allocations: 127.2 kB / 0.8627 GB, free: 3.426 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.154e-05/0.6295, allocations: 23.11 kB / 0.8628 GB, free: 3.395 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.6296, allocations: 5.359 kB / 0.8628 GB, free: 3.387 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.6297, allocations: 91.56 kB / 0.8628 GB, free: 3.281 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.6298, allocations: 30.56 kB / 0.8629 GB, free: 3.242 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.6298, allocations: 0 / 0.8629 GB, free: 3.242 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.6299, allocations: 38.25 kB / 0.8629 GB, free: 3.199 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.63, allocations: 52.06 kB / 0.863 GB, free: 3.137 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.092e-05/0.63, allocations: 85 kB / 0.863 GB, free: 3.047 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.63, allocations: 26.27 kB / 0.8631 GB, free: 3.016 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.63, allocations: 80.8 kB / 0.8631 GB, free: 2.934 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.63, allocations: 4 kB / 0.8632 GB, free: 2.93 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.63, allocations: 0.8438 kB / 0.8632 GB, free: 2.93 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.6301, allocations: 315.4 kB / 0.8635 GB, free: 2.613 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.6301, allocations: 0.875 kB / 0.8635 GB, free: 2.613 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.6301, allocations: 3.938 kB / 0.8635 GB, free: 2.609 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.6301, allocations: 0.625 kB / 0.8635 GB, free: 2.609 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6302, allocations: 1.219 kB / 0.8635 GB, free: 2.609 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.73e-05/0.6302, allocations: 41.59 kB / 0.8635 GB, free: 2.562 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.6302, allocations: 7.938 kB / 0.8635 GB, free: 2.555 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6303, allocations: 3.375 kB / 0.8635 GB, free: 2.555 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6303, allocations: 4.625 kB / 0.8635 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.6303, allocations: 1.406 kB / 0.8635 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6303, allocations: 5.312 kB / 0.8635 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.6303, allocations: 0 / 0.8635 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.6303, allocations: 0 / 0.8635 GB, free: 2.547 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 (1): * Single equations (assignments): 1 * 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 3.918e-05/0.6304, allocations: 101.5 kB / 0.8636 GB, free: 2.441 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.6304, allocations: 0.9062 kB / 0.8636 GB, free: 2.441 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.6305, allocations: 45.06 kB / 0.8637 GB, free: 2.391 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.6305, allocations: 0 / 0.8637 GB, free: 2.391 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6305, allocations: 5.312 kB / 0.8637 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6305, allocations: 0 / 0.8637 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.349e-05/0.6306, allocations: 126.2 kB / 0.8638 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6306, allocations: 1.531 kB / 0.8638 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.6306, allocations: 0 / 0.8638 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6306, allocations: 0 / 0.8638 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.6306, allocations: 4 kB / 0.8638 GB, free: 2.223 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6306, allocations: 6.203 kB / 0.8638 GB, free: 2.219 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6306, allocations: 3.906 kB / 0.8638 GB, free: 2.215 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.978e-05/0.6307, allocations: 50.45 kB / 0.8638 GB, free: 2.148 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001023/0.6308, allocations: 447.4 kB / 0.8643 GB, free: 1.691 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.6308, allocations: 77.11 kB / 0.8643 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.6309, allocations: 0.5625 kB / 0.8644 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.6309, allocations: 1.031 kB / 0.8644 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.6309, allocations: 3.984 kB / 0.8644 GB, free: 1.594 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.6309, allocations: 4 kB / 0.8644 GB, free: 1.59 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.202e-05/0.6309, allocations: 79.5 kB / 0.8644 GB, free: 1.512 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0008142/0.6317, allocations: 23.92 kB / 0.8645 GB, free: 1.488 MB / 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 (1): * Single equations (assignments): 1 * 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.000189/0.6319, allocations: 120 kB / 0.8646 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 4.838e-05/0.632, allocations: 4 kB / 0.8646 GB, free: 1.355 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.632, allocations: 0 / 0.8646 GB, free: 1.355 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-06/0.632, allocations: 11.92 kB / 0.8646 GB, free: 1.344 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.141e-05/0.6321, allocations: 3.906 kB / 0.8646 GB, free: 1.34 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.6322, allocations: 45.52 kB / 0.8646 GB, free: 1.273 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.6324, allocations: 0.6841 MB / 0.8653 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of SimCode: time 3.2e-07/0.6324, allocations: 0 / 0.8653 GB, free: 0.5625 MB / 0.5263 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)