Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.542/2.542, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001611/0.001611, allocations: 173.4 kB / 360.3 MB, free: 7.551 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.964/1.964, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001331/0.00133, allocations: 91.16 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2813/0.2827, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/1.019, allocations: 115.2 MB / 0.9627 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/6.617, allocations: 2.085 GB / 3.047 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004032/6.618, allocations: 88.91 kB / 3.047 GB, free: 266.8 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 2.675/9.293, allocations: 0.5786 GB / 3.626 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/9.293, allocations: 8.5 kB / 3.626 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008588/9.302, allocations: 0.5361 MB / 3.627 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/9.312, allocations: 2.072 MB / 3.629 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/9.312, allocations: 27.94 kB / 3.629 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/9.313, allocations: 76 kB / 3.629 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004195/9.317, allocations: 1.494 MB / 3.63 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/9.32, allocations: 1.246 MB / 3.631 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/9.32, allocations: 3.938 kB / 3.631 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/9.32, allocations: 4 kB / 3.631 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/9.32, allocations: 23.88 kB / 3.632 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/9.334, allocations: 5.627 MB / 3.637 GB, free: 98.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/9.338, allocations: 1.453 MB / 3.638 GB, free: 96.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/9.34, allocations: 0.7049 MB / 3.639 GB, free: 95.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/9.34, allocations: 454 kB / 3.64 GB, free: 95.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/9.34, allocations: 35.06 kB / 3.64 GB, free: 95.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.616e-06/9.34, allocations: 0 / 3.64 GB, free: 95.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.01069/9.351, allocations: 2.154 MB / 3.642 GB, free: 93.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/9.351, allocations: 59.91 kB / 3.642 GB, free: 93.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/9.358, allocations: 2.455 MB / 3.644 GB, free: 90.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000539/9.358, allocations: 25.7 kB / 3.644 GB, free: 90.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/9.359, allocations: 464.2 kB / 3.645 GB, free: 90.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/9.36, allocations: 189.2 kB / 3.645 GB, free: 89.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/9.36, allocations: 0 / 3.645 GB, free: 89.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002426/9.36, allocations: 385.9 kB / 3.645 GB, free: 89.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/9.366, allocations: 1.632 MB / 3.647 GB, free: 87.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/9.372, allocations: 2.094 MB / 3.649 GB, free: 85.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009396/9.381, allocations: 2.263 MB / 3.651 GB, free: 83.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/9.382, allocations: 4 kB / 3.651 GB, free: 83.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01517/9.397, allocations: 4.569 MB / 3.655 GB, free: 78.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004643/9.397, allocations: 2.065 MB / 3.657 GB, free: 76.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/9.397, allocations: 4 kB / 3.657 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007172/9.398, allocations: 120.9 kB / 3.658 GB, free: 76.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/9.402, allocations: 419.4 kB / 3.658 GB, free: 76.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/9.404, allocations: 1.326 MB / 3.659 GB, free: 74.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/9.409, allocations: 333.6 kB / 3.66 GB, free: 74.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/9.41, allocations: 135.9 kB / 3.66 GB, free: 74.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/9.41, allocations: 4 kB / 3.66 GB, free: 74.22 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0135/9.423, allocations: 4.326 MB / 3.664 GB, free: 69.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/9.423, allocations: 7.906 kB / 3.664 GB, free: 69.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/9.423, allocations: 12 kB / 3.664 GB, free: 69.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/9.427, allocations: 431.7 kB / 3.664 GB, free: 69.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/9.427, allocations: 12 kB / 3.664 GB, free: 69.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/9.432, allocations: 262.5 kB / 3.665 GB, free: 69.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/9.432, allocations: 132 kB / 3.665 GB, free: 69.05 MB / 0.948 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.0005595/9.433, allocations: 177 kB / 3.665 GB, free: 68.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008941/9.434, allocations: 157.8 kB / 3.665 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/9.444, allocations: 2.412 MB / 3.667 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/9.444, allocations: 4 kB / 3.667 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/9.444, allocations: 0 / 3.667 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/9.444, allocations: 3.984 kB / 3.667 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/9.461, allocations: 4.212 MB / 3.672 GB, free: 61.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/9.461, allocations: 8.062 kB / 3.672 GB, free: 61.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/9.463, allocations: 203.9 kB / 3.672 GB, free: 61.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006569/9.464, allocations: 124.8 kB / 3.672 GB, free: 61.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/9.464, allocations: 35.97 kB / 3.672 GB, free: 61.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/9.466, allocations: 1.306 MB / 3.673 GB, free: 60.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/9.466, allocations: 4 kB / 3.673 GB, free: 60.27 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01425/9.48, allocations: 2.489 MB / 3.676 GB, free: 57.64 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01418/9.495, allocations: 2.974 MB / 3.679 GB, free: 54.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/9.497, allocations: 0.5843 MB / 3.679 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007362/9.498, allocations: 4 kB / 3.679 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/9.502, allocations: 127.7 kB / 3.679 GB, free: 53.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/9.502, allocations: 48.42 kB / 3.679 GB, free: 53.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000367/9.502, allocations: 79.97 kB / 3.679 GB, free: 53.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004343/9.507, allocations: 1.825 MB / 3.681 GB, free: 51.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008197/9.515, allocations: 1.346 MB / 3.682 GB, free: 50.47 MB / 0.948 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.003357/9.518, allocations: 1.787 MB / 3.684 GB, free: 48.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009349/9.528, allocations: 5.101 MB / 3.689 GB, free: 43.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/9.528, allocations: 4.125 kB / 3.689 GB, free: 43.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/9.53, allocations: 0.6464 MB / 3.69 GB, free: 42.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/9.534, allocations: 348.3 kB / 3.69 GB, free: 42.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/9.542, allocations: 2.39 MB / 3.692 GB, free: 40.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004799/9.547, allocations: 1.543 MB / 3.694 GB, free: 38.51 MB / 0.948 GB Notification: Performance of SimCode: time 2.214e-06/9.547, allocations: 0 / 3.694 GB, free: 38.51 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)