Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",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/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 182.4 kB / 7.799 MB, free: 1.184 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4791/0.4791, allocations: 90.86 MB / 99.07 MB, free: 8.949 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.4 MB / 342.7 MB, free: 4.648 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009489, allocations: 88.38 kB / 415.5 MB, free: 14.24 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1622/0.1632, allocations: 78.46 MB / 494 MB, free: 7.488 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.5804, allocations: 72.31 MB / 0.553 GB, free: 61.59 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.975/4.555, allocations: 1.87 GB / 2.423 GB, free: 191.9 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/4.556, allocations: 94.75 kB / 2.423 GB, free: 191.9 MB / 0.5964 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 1.929/6.484, allocations: 0.59 GB / 3.013 GB, free: 49.32 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/6.484, allocations: 8 kB / 3.013 GB, free: 49.31 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/6.489, allocations: 425.6 kB / 3.014 GB, free: 48.89 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/6.496, allocations: 2.247 MB / 3.016 GB, free: 46.62 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/6.496, allocations: 24 kB / 3.016 GB, free: 46.59 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008848/6.497, allocations: 76 kB / 3.016 GB, free: 46.52 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002314/6.499, allocations: 1.49 MB / 3.018 GB, free: 45.03 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/6.501, allocations: 1.25 MB / 3.019 GB, free: 43.7 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/6.501, allocations: 8 kB / 3.019 GB, free: 43.7 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/6.501, allocations: 0 / 3.019 GB, free: 43.7 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/6.501, allocations: 20 kB / 3.019 GB, free: 43.68 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/6.513, allocations: 6.242 MB / 3.025 GB, free: 37.31 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/6.515, allocations: 1.464 MB / 3.026 GB, free: 35.84 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/6.516, allocations: 0.6933 MB / 3.027 GB, free: 35.14 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/6.516, allocations: 451.8 kB / 3.028 GB, free: 34.61 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/6.516, allocations: 39.06 kB / 3.028 GB, free: 34.56 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=57): time 4.268e-06/6.516, allocations: 0 / 3.028 GB, free: 34.56 MB / 0.5964 GB Notification: Performance of matching and sorting (n=57): time 0.006772/6.523, allocations: 2.15 MB / 3.03 GB, free: 32.4 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/6.523, allocations: 55.91 kB / 3.03 GB, free: 32.34 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/6.528, allocations: 2.463 MB / 3.032 GB, free: 29.84 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 0.0008132/6.529, allocations: 29.7 kB / 3.032 GB, free: 29.8 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/6.53, allocations: 475.7 kB / 3.033 GB, free: 29.32 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/6.53, allocations: 185.2 kB / 3.033 GB, free: 29.14 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007554/6.531, allocations: 0 / 3.033 GB, free: 29.14 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 0.0001862/6.531, allocations: 389.8 kB / 3.033 GB, free: 28.75 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/6.535, allocations: 2.167 MB / 3.035 GB, free: 26.59 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/6.538, allocations: 2.632 MB / 3.038 GB, free: 23.77 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/6.544, allocations: 2.233 MB / 3.04 GB, free: 21.55 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/6.544, allocations: 7.938 kB / 3.04 GB, free: 21.54 MB / 0.5964 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01141/6.555, allocations: 4.95 MB / 3.045 GB, free: 16.57 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 0.000417/6.555, allocations: 2.062 MB / 3.047 GB, free: 14.39 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/6.555, allocations: 7.906 kB / 3.047 GB, free: 14.39 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/6.556, allocations: 116.9 kB / 3.047 GB, free: 14.27 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/6.559, allocations: 399.4 kB / 3.047 GB, free: 13.88 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/6.56, allocations: 1.326 MB / 3.049 GB, free: 12.5 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/6.564, allocations: 317.5 kB / 3.049 GB, free: 12.19 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/6.564, allocations: 143.9 kB / 3.049 GB, free: 12.05 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/6.564, allocations: 4 kB / 3.049 GB, free: 12.05 MB / 0.5964 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009413/6.574, allocations: 4.711 MB / 3.054 GB, free: 7.332 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/6.574, allocations: 4 kB / 3.054 GB, free: 7.328 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/6.574, allocations: 12 kB / 3.054 GB, free: 7.316 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/6.576, allocations: 412.1 kB / 3.054 GB, free: 6.914 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/6.577, allocations: 15.94 kB / 3.054 GB, free: 6.898 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/6.58, allocations: 234.5 kB / 3.054 GB, free: 6.668 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/6.581, allocations: 140 kB / 3.054 GB, free: 6.531 MB / 0.5964 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000731/6.581, allocations: 169.8 kB / 3.055 GB, free: 6.359 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009137/6.582, allocations: 157.8 kB / 3.055 GB, free: 6.203 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006201/6.588, allocations: 2.403 MB / 3.057 GB, free: 3.785 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/6.588, allocations: 8 kB / 3.057 GB, free: 3.777 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/6.588, allocations: 0 / 3.057 GB, free: 3.777 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/6.589, allocations: 4.078 kB / 3.057 GB, free: 3.773 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/6.599, allocations: 4.167 MB / 3.061 GB, free: 15.54 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/6.599, allocations: 8 kB / 3.061 GB, free: 15.53 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/6.6, allocations: 179.8 kB / 3.061 GB, free: 15.36 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/6.601, allocations: 128.8 kB / 3.062 GB, free: 15.23 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/6.601, allocations: 31.98 kB / 3.062 GB, free: 15.2 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/6.602, allocations: 1.314 MB / 3.063 GB, free: 13.83 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/6.602, allocations: 0 / 3.063 GB, free: 13.83 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006891/6.609, allocations: 2.488 MB / 3.065 GB, free: 11.22 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007299/6.617, allocations: 2.967 MB / 3.068 GB, free: 8.113 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/6.619, allocations: 0.5921 MB / 3.069 GB, free: 7.5 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009006/6.62, allocations: 4 kB / 3.069 GB, free: 7.496 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/6.622, allocations: 95.78 kB / 3.069 GB, free: 7.402 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/6.622, allocations: 52.38 kB / 3.069 GB, free: 7.352 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/6.622, allocations: 75.97 kB / 3.069 GB, free: 7.277 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.003872/6.626, allocations: 1.833 MB / 3.071 GB, free: 5.422 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.009033/6.635, allocations: 1.524 MB / 3.072 GB, free: 3.898 MB / 0.6121 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004103/6.639, allocations: 1.799 MB / 3.074 GB, free: 2.242 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.3241/6.964, allocations: 5.951 MB / 3.08 GB, free: 166.1 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/6.964, allocations: 0 / 3.08 GB, free: 166.1 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 0.0009908/6.965, allocations: 0.6473 MB / 3.08 GB, free: 166.1 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/6.967, allocations: 332.6 kB / 3.081 GB, free: 166.1 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/6.973, allocations: 2.383 MB / 3.083 GB, free: 165.5 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/6.975, allocations: 1.56 MB / 3.085 GB, free: 164.8 MB / 0.6121 GB Notification: Performance of SimCode: time 1.142e-06/6.975, allocations: 0 / 3.085 GB, free: 164.8 MB / 0.6121 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)