Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.504/2.504, allocations: 284.8 MB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.00154, allocations: 185.2 kB / 360.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.1 MB / 0.6187 GB, free: 12.54 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 95.09 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3157/0.317, allocations: 121.4 MB / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/1.019, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/1.242, allocations: 137.2 MB / 1.097 GB, free: 3.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.242, allocations: 72.7 kB / 1.097 GB, free: 3.582 MB / 0.698 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.005289/1.247, allocations: 1.077 MB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.247, allocations: 9.094 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/1.247, allocations: 9.781 kB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/1.247, allocations: 165.2 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.247, allocations: 0 / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/1.248, allocations: 4 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.032e-05/1.248, allocations: 9.969 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/1.248, allocations: 35.12 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.248, allocations: 4.5 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.248, allocations: 0 / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/1.248, allocations: 4.688 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/1.248, allocations: 245.3 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/1.248, allocations: 33.2 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/1.248, allocations: 12.92 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/1.249, allocations: 89 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.249, allocations: 34.56 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/1.249, allocations: 0 / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000259/1.249, allocations: 37.7 kB / 1.098 GB, free: 1.703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.249, allocations: 51.41 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/1.249, allocations: 93.55 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.249, allocations: 25.7 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/1.249, allocations: 88.12 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/1.249, allocations: 7.844 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/1.249, allocations: 7.938 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.249, allocations: 310.8 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/1.25, allocations: 4 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/1.25, allocations: 4 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/1.25, allocations: 8.719 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.25, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001435/1.25, allocations: 45.59 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.25, allocations: 11.94 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.25, allocations: 0.7969 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.25, allocations: 0 / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/1.25, allocations: 11.98 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/1.25, allocations: 3.219 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/1.25, allocations: 13.25 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.25, allocations: 0 / 1.099 GB, free: 0.9922 MB / 0.698 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 0.0001346/1.25, allocations: 108.7 kB / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/1.25, allocations: 7.984 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/1.251, allocations: 48.95 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.251, allocations: 8.016 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.251, allocations: 0 / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.251, allocations: 0.5156 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/1.251, allocations: 134.1 kB / 1.099 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.251, allocations: 0 / 1.099 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.251, allocations: 15.98 kB / 1.099 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.251, allocations: 0 / 1.099 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.251, allocations: 1.438 kB / 1.099 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.251, allocations: 4 kB / 1.099 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.251, allocations: 0 / 1.099 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001924/1.251, allocations: 147.4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003305/1.252, allocations: 0.5024 MB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/1.252, allocations: 81.92 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.252, allocations: 3.984 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.252, allocations: 12 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/1.252, allocations: 3.984 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/1.252, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.651e-05/1.252, allocations: 79.98 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001178/1.253, allocations: 19.91 kB / 1.1 GB, free: 15.73 MB / 0.7136 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.000325/1.253, allocations: 124.1 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.254, allocations: 15.94 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.254, allocations: 4.062 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/1.254, allocations: 8 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/1.254, allocations: 3.578 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/1.254, allocations: 64.67 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.255, allocations: 0.6894 MB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.255, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)