Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 188.3 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 89.53 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7139/0.7151, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/1.016, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/6.508, allocations: 1.918 GB / 3.129 GB, free: 419.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/6.509, allocations: 91.44 kB / 3.13 GB, free: 419.3 MB / 1.151 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.98/8.489, allocations: 0.59 GB / 3.72 GB, free: 252.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/8.489, allocations: 8 kB / 3.72 GB, free: 252.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/8.493, allocations: 432.9 kB / 3.72 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/8.498, allocations: 2.254 MB / 3.722 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/8.499, allocations: 20 kB / 3.722 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/8.499, allocations: 80 kB / 3.722 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002178/8.501, allocations: 1.49 MB / 3.724 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/8.503, allocations: 1.243 MB / 3.725 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/8.503, allocations: 8 kB / 3.725 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/8.503, allocations: 0 / 3.725 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/8.503, allocations: 20 kB / 3.725 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/8.514, allocations: 6.256 MB / 3.731 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/8.516, allocations: 1.454 MB / 3.732 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/8.517, allocations: 0.6987 MB / 3.733 GB, free: 238.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/8.518, allocations: 453.4 kB / 3.734 GB, free: 238.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/8.518, allocations: 47.12 kB / 3.734 GB, free: 238 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 4.138e-06/8.518, allocations: 0 / 3.734 GB, free: 238 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.006323/8.524, allocations: 2.142 MB / 3.736 GB, free: 235.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/8.524, allocations: 59.91 kB / 3.736 GB, free: 235.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/8.528, allocations: 2.462 MB / 3.738 GB, free: 233.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0007317/8.529, allocations: 29.7 kB / 3.738 GB, free: 233.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/8.53, allocations: 476.7 kB / 3.739 GB, free: 232.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/8.53, allocations: 185.2 kB / 3.739 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/8.531, allocations: 3.938 kB / 3.739 GB, free: 232.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001674/8.531, allocations: 377.9 kB / 3.739 GB, free: 232.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/8.534, allocations: 2.171 MB / 3.741 GB, free: 230 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/8.537, allocations: 2.628 MB / 3.744 GB, free: 227.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/8.543, allocations: 2.248 MB / 3.746 GB, free: 225 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/8.543, allocations: 0 / 3.746 GB, free: 225 MB / 1.151 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01253/8.555, allocations: 4.954 MB / 3.751 GB, free: 220 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006232/8.556, allocations: 2.054 MB / 3.753 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/8.556, allocations: 4 kB / 3.753 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/8.556, allocations: 112.8 kB / 3.753 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/8.559, allocations: 391.5 kB / 3.753 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/8.561, allocations: 1.333 MB / 3.755 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/8.565, allocations: 309.6 kB / 3.755 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007505/8.566, allocations: 144 kB / 3.755 GB, free: 215.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/8.566, allocations: 4 kB / 3.755 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/8.576, allocations: 4.711 MB / 3.76 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/8.576, allocations: 4 kB / 3.76 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/8.576, allocations: 19.91 kB / 3.76 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/8.579, allocations: 408.1 kB / 3.76 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.391e-05/8.579, allocations: 19.92 kB / 3.76 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/8.583, allocations: 238.5 kB / 3.76 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007703/8.584, allocations: 144 kB / 3.761 GB, free: 210 MB / 1.151 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.0009654/8.585, allocations: 165.8 kB / 3.761 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/8.586, allocations: 157.8 kB / 3.761 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/8.592, allocations: 2.409 MB / 3.763 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/8.593, allocations: 8 kB / 3.763 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/8.593, allocations: 0 / 3.763 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/8.593, allocations: 3.984 kB / 3.763 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/8.603, allocations: 4.168 MB / 3.767 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/8.603, allocations: 0 / 3.767 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/8.604, allocations: 191.7 kB / 3.768 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/8.605, allocations: 128.8 kB / 3.768 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/8.605, allocations: 35.97 kB / 3.768 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/8.606, allocations: 1.306 MB / 3.769 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/8.606, allocations: 4 kB / 3.769 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005886/8.612, allocations: 2.482 MB / 3.771 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006648/8.619, allocations: 2.963 MB / 3.774 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/8.621, allocations: 0.592 MB / 3.775 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/8.622, allocations: 8 kB / 3.775 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/8.624, allocations: 95.88 kB / 3.775 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/8.624, allocations: 52.34 kB / 3.775 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/8.624, allocations: 87.95 kB / 3.775 GB, free: 194.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003401/8.628, allocations: 1.825 MB / 3.777 GB, free: 192.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008689/8.636, allocations: 1.522 MB / 3.778 GB, free: 191.3 MB / 1.151 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.003783/8.64, allocations: 1.788 MB / 3.78 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.011/8.651, allocations: 5.943 MB / 3.786 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/8.651, allocations: 4.5 kB / 3.786 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/8.653, allocations: 0.6543 MB / 3.787 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/8.656, allocations: 343.8 kB / 3.787 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00894/8.665, allocations: 2.383 MB / 3.789 GB, free: 180.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003734/8.669, allocations: 1.554 MB / 3.791 GB, free: 178.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.853e-06/8.669, allocations: 0 / 3.791 GB, free: 178.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)