Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 177.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008911, allocations: 86 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3706/0.3715, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5482, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/1.069, allocations: 132.1 MB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/1.07, allocations: 73.45 kB / 1.014 GB, free: 6.395 MB / 0.6355 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.003273/1.073, allocations: 1.077 MB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.073, allocations: 12 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/1.073, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.073, allocations: 163 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.073, allocations: 4 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/1.073, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.724e-05/1.073, allocations: 11.36 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.346e-05/1.073, allocations: 37.7 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/1.073, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.073, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.073, allocations: 3.984 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/1.074, allocations: 255.5 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/1.074, allocations: 21.77 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/1.074, allocations: 8.922 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/1.074, allocations: 92.72 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/1.074, allocations: 30.56 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/1.074, allocations: 4 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/1.074, allocations: 39.62 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/1.074, allocations: 59.25 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/1.074, allocations: 96.92 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.074, allocations: 25.7 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/1.074, allocations: 80.14 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/1.074, allocations: 11.84 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/1.074, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/1.074, allocations: 315.6 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/1.075, allocations: 7.375 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/1.075, allocations: 0 / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/1.075, allocations: 7.938 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.075, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.77e-05/1.075, allocations: 45.25 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.075, allocations: 6.5 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.075, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/1.075, allocations: 3.938 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/1.075, allocations: 16.08 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.075, allocations: 7.906 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/1.075, allocations: 7.938 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/1.075, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 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 5.403e-05/1.075, allocations: 116.2 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/1.075, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/1.075, allocations: 52.73 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.075, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.075, allocations: 0.875 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.075, allocations: 7.938 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.075, allocations: 133.9 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.075, allocations: 4 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/1.075, allocations: 16.02 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.075, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.075, allocations: 1 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.075, allocations: 3.906 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.075, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001165/1.075, allocations: 139.2 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002215/1.076, allocations: 0.5063 MB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/1.076, allocations: 81.09 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.076, allocations: 3.906 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/1.076, allocations: 16.56 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/1.076, allocations: 8.016 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.076, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.768e-05/1.076, allocations: 79.28 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007654/1.077, allocations: 16 kB / 1.017 GB, free: 2.672 MB / 0.6355 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.0002058/1.077, allocations: 131.4 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.158e-05/1.077, allocations: 15.38 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.077, allocations: 0 / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/1.077, allocations: 8 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.077, allocations: 0 / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/1.077, allocations: 61.84 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/1.078, allocations: 0.6959 MB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/1.078, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)