Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.725/0.725, allocations: 141.8 MB / 149.1 MB, free: 13.18 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 183 kB / 181.9 MB, free: 9.863 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.425/1.425, allocations: 221.3 MB / 436 MB, free: 2.316 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.001009/0.001009, allocations: 97.7 kB / 0.507 GB, free: 11.09 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 281.3 kB / 0.5884 GB, free: 7.906 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2078/0.2098, allocations: 89.64 MB / 0.676 GB, free: 14.18 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.6835, allocations: 82.77 MB / 0.7568 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.818/4.502, allocations: 1.877 GB / 2.634 GB, free: 143 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/4.502, allocations: 103.2 kB / 2.634 GB, free: 142.9 MB / 0.6982 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.823/6.326, allocations: 0.5901 GB / 3.224 GB, free: 75.41 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/6.326, allocations: 8 kB / 3.224 GB, free: 75.41 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/6.33, allocations: 425.1 kB / 3.225 GB, free: 74.99 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005199/6.335, allocations: 2.263 MB / 3.227 GB, free: 72.65 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/6.335, allocations: 20 kB / 3.227 GB, free: 72.63 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008328/6.336, allocations: 80 kB / 3.227 GB, free: 72.55 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002249/6.339, allocations: 1.494 MB / 3.228 GB, free: 71.06 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/6.34, allocations: 1.239 MB / 3.23 GB, free: 69.75 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/6.34, allocations: 7.938 kB / 3.23 GB, free: 69.74 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/6.34, allocations: 0 / 3.23 GB, free: 69.74 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/6.34, allocations: 20 kB / 3.23 GB, free: 69.72 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/6.354, allocations: 6.241 MB / 3.236 GB, free: 63.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/6.356, allocations: 1.456 MB / 3.237 GB, free: 61.83 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/6.357, allocations: 0.7048 MB / 3.238 GB, free: 61.12 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/6.357, allocations: 446 kB / 3.238 GB, free: 60.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/6.357, allocations: 39.22 kB / 3.238 GB, free: 60.55 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/6.357, allocations: 0 / 3.238 GB, free: 60.55 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57): time 0.006265/6.364, allocations: 2.15 MB / 3.24 GB, free: 58.39 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/6.364, allocations: 55.91 kB / 3.241 GB, free: 58.32 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/6.368, allocations: 2.463 MB / 3.243 GB, free: 55.82 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007985/6.368, allocations: 29.7 kB / 3.243 GB, free: 55.79 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/6.37, allocations: 472.5 kB / 3.243 GB, free: 55.31 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/6.37, allocations: 181.2 kB / 3.244 GB, free: 55.13 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/6.371, allocations: 0 / 3.244 GB, free: 55.13 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001681/6.371, allocations: 381.9 kB / 3.244 GB, free: 54.75 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/6.374, allocations: 2.171 MB / 3.246 GB, free: 52.58 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/6.377, allocations: 2.632 MB / 3.249 GB, free: 49.78 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/6.383, allocations: 2.24 MB / 3.251 GB, free: 47.54 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/6.383, allocations: 4 kB / 3.251 GB, free: 47.54 MB / 0.6982 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01134/6.394, allocations: 4.95 MB / 3.256 GB, free: 42.57 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004354/6.394, allocations: 2.058 MB / 3.258 GB, free: 40.39 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/6.394, allocations: 4 kB / 3.258 GB, free: 40.39 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/6.395, allocations: 116.9 kB / 3.258 GB, free: 40.27 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/6.398, allocations: 399.4 kB / 3.258 GB, free: 39.88 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/6.399, allocations: 1.337 MB / 3.259 GB, free: 38.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/6.403, allocations: 313.6 kB / 3.26 GB, free: 38.19 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008785/6.404, allocations: 140 kB / 3.26 GB, free: 38.05 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/6.404, allocations: 5.719 kB / 3.26 GB, free: 38.05 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/6.415, allocations: 4.707 MB / 3.265 GB, free: 33.34 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/6.415, allocations: 4 kB / 3.265 GB, free: 33.33 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/6.415, allocations: 12 kB / 3.265 GB, free: 33.32 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/6.417, allocations: 415.9 kB / 3.265 GB, free: 32.91 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/6.417, allocations: 12 kB / 3.265 GB, free: 32.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/6.421, allocations: 234.5 kB / 3.265 GB, free: 32.67 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/6.421, allocations: 140 kB / 3.265 GB, free: 32.54 MB / 0.6982 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.0008722/6.422, allocations: 165.2 kB / 3.265 GB, free: 32.37 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009786/6.423, allocations: 161.8 kB / 3.266 GB, free: 32.21 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/6.429, allocations: 2.414 MB / 3.268 GB, free: 29.79 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/6.429, allocations: 8 kB / 3.268 GB, free: 29.78 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/6.429, allocations: 0 / 3.268 GB, free: 29.78 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/6.429, allocations: 3.984 kB / 3.268 GB, free: 29.78 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/6.44, allocations: 4.171 MB / 3.272 GB, free: 25.52 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/6.44, allocations: 4 kB / 3.272 GB, free: 25.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009416/6.441, allocations: 191.7 kB / 3.272 GB, free: 25.33 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/6.441, allocations: 128.9 kB / 3.272 GB, free: 25.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/6.441, allocations: 27.98 kB / 3.272 GB, free: 25.17 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/6.443, allocations: 1.318 MB / 3.274 GB, free: 23.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.443, allocations: 0 / 3.274 GB, free: 23.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00579/6.448, allocations: 2.486 MB / 3.276 GB, free: 21.19 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005805/6.454, allocations: 2.963 MB / 3.279 GB, free: 18.09 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/6.456, allocations: 0.5959 MB / 3.28 GB, free: 17.47 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/6.457, allocations: 4 kB / 3.28 GB, free: 17.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/6.459, allocations: 91.88 kB / 3.28 GB, free: 17.38 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/6.459, allocations: 52.34 kB / 3.28 GB, free: 17.32 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/6.459, allocations: 83.95 kB / 3.28 GB, free: 17.24 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.002975/6.462, allocations: 1.829 MB / 3.282 GB, free: 15.39 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.007004/6.469, allocations: 1.522 MB / 3.283 GB, free: 13.87 MB / 0.6982 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.003116/6.472, allocations: 1.796 MB / 3.285 GB, free: 12.03 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.008977/6.481, allocations: 5.943 MB / 3.291 GB, free: 6.086 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/6.481, allocations: 0 / 3.291 GB, free: 6.086 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/6.482, allocations: 0.6541 MB / 3.291 GB, free: 5.434 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/6.485, allocations: 343.2 kB / 3.292 GB, free: 5.094 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/6.491, allocations: 2.383 MB / 3.294 GB, free: 2.637 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/6.494, allocations: 1.562 MB / 3.295 GB, free: 1.051 MB / 0.6982 GB Notification: Performance of SimCode: time 7.71e-07/6.494, allocations: 0 / 3.295 GB, free: 1.051 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_Damper.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)