Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.363/1.363, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001098/0.001098, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.187/1.187, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0008421/0.000842, allocations: 88 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2436/0.2444, allocations: 121.4 MB / 0.8512 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.8202, allocations: 115.3 MB / 0.9638 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.83/4.651, allocations: 2.085 GB / 3.049 GB, free: 327.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/4.651, allocations: 93.06 kB / 3.049 GB, free: 327.3 MB / 0.9323 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.446/6.097, allocations: 0.5786 GB / 3.627 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/6.097, allocations: 12.48 kB / 3.627 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/6.101, allocations: 0.5322 MB / 3.628 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/6.105, allocations: 2.071 MB / 3.63 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/6.105, allocations: 27.89 kB / 3.63 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/6.106, allocations: 76 kB / 3.63 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002042/6.108, allocations: 1.49 MB / 3.631 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/6.109, allocations: 1.246 MB / 3.633 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/6.109, allocations: 7.938 kB / 3.633 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/6.109, allocations: 0 / 3.633 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/6.109, allocations: 19.94 kB / 3.633 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007336/6.117, allocations: 5.623 MB / 3.638 GB, free: 98.76 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/6.119, allocations: 1.462 MB / 3.64 GB, free: 97.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/6.119, allocations: 0.7011 MB / 3.64 GB, free: 96.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/6.12, allocations: 452.2 kB / 3.641 GB, free: 96.06 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/6.12, allocations: 39.06 kB / 3.641 GB, free: 96.01 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/6.12, allocations: 0 / 3.641 GB, free: 96.01 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.005478/6.125, allocations: 2.146 MB / 3.643 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/6.125, allocations: 63.84 kB / 3.643 GB, free: 93.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/6.13, allocations: 2.446 MB / 3.645 GB, free: 91.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004382/6.13, allocations: 29.7 kB / 3.645 GB, free: 91.26 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/6.131, allocations: 483.8 kB / 3.646 GB, free: 90.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/6.131, allocations: 185.2 kB / 3.646 GB, free: 90.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/6.131, allocations: 4 kB / 3.646 GB, free: 90.59 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001122/6.131, allocations: 381.9 kB / 3.646 GB, free: 90.21 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/6.133, allocations: 1.628 MB / 3.648 GB, free: 88.58 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/6.134, allocations: 2.094 MB / 3.65 GB, free: 86.31 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/6.139, allocations: 2.274 MB / 3.652 GB, free: 84.04 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/6.139, allocations: 4 kB / 3.652 GB, free: 84.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006923/6.146, allocations: 4.561 MB / 3.657 GB, free: 79.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003832/6.146, allocations: 2.066 MB / 3.659 GB, free: 77.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/6.146, allocations: 8 kB / 3.659 GB, free: 77.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/6.146, allocations: 116.7 kB / 3.659 GB, free: 77.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/6.148, allocations: 411.5 kB / 3.659 GB, free: 76.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/6.149, allocations: 1.333 MB / 3.66 GB, free: 75.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/6.152, allocations: 329.5 kB / 3.661 GB, free: 75.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/6.152, allocations: 143.9 kB / 3.661 GB, free: 74.89 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/6.152, allocations: 4 kB / 3.661 GB, free: 74.89 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006273/6.158, allocations: 4.326 MB / 3.665 GB, free: 70.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/6.158, allocations: 4 kB / 3.665 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/6.159, allocations: 15.91 kB / 3.665 GB, free: 70.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/6.16, allocations: 423.8 kB / 3.666 GB, free: 70.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/6.16, allocations: 15.94 kB / 3.666 GB, free: 70.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/6.163, allocations: 262.5 kB / 3.666 GB, free: 69.85 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/6.163, allocations: 140 kB / 3.666 GB, free: 69.71 MB / 0.9323 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.0003498/6.163, allocations: 161.8 kB / 3.666 GB, free: 69.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/6.164, allocations: 161.8 kB / 3.666 GB, free: 69.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/6.169, allocations: 2.403 MB / 3.669 GB, free: 66.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/6.169, allocations: 8.047 kB / 3.669 GB, free: 66.97 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/6.169, allocations: 8 kB / 3.669 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/6.169, allocations: 0 / 3.669 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009049/6.178, allocations: 4.209 MB / 3.673 GB, free: 62.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/6.179, allocations: 3.906 kB / 3.673 GB, free: 62.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/6.179, allocations: 207.5 kB / 3.673 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/6.18, allocations: 128.8 kB / 3.673 GB, free: 62.35 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/6.18, allocations: 35.91 kB / 3.673 GB, free: 62.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/6.181, allocations: 1.298 MB / 3.674 GB, free: 60.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/6.181, allocations: 11.84 kB / 3.674 GB, free: 60.96 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004988/6.186, allocations: 2.485 MB / 3.677 GB, free: 58.34 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005259/6.191, allocations: 2.974 MB / 3.68 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/6.193, allocations: 0.5804 MB / 3.68 GB, free: 54.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007141/6.193, allocations: 0 / 3.68 GB, free: 54.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/6.195, allocations: 123.8 kB / 3.68 GB, free: 54.51 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/6.196, allocations: 48.28 kB / 3.68 GB, free: 54.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/6.196, allocations: 83.97 kB / 3.681 GB, free: 54.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002644/6.198, allocations: 1.825 MB / 3.682 GB, free: 52.53 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005497/6.204, allocations: 1.35 MB / 3.684 GB, free: 51.18 MB / 0.9323 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.002666/6.207, allocations: 1.801 MB / 3.685 GB, free: 49.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005684/6.212, allocations: 5.093 MB / 3.69 GB, free: 44.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/6.212, allocations: 4.062 kB / 3.69 GB, free: 44.36 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009559/6.213, allocations: 0.6543 MB / 3.691 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/6.216, allocations: 347.5 kB / 3.691 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/6.22, allocations: 2.387 MB / 3.694 GB, free: 40.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/6.221, allocations: 1.545 MB / 3.695 GB, free: 39.33 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/6.221, allocations: 0 / 3.695 GB, free: 39.33 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)