Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_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.003962/0.003962, allocations: 177.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8019/0.8019, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009733, allocations: 97.42 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3705/0.3715, allocations: 88.44 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.5229, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.727/3.25, allocations: 1.88 GB / 2.514 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/3.25, allocations: 95.94 kB / 2.514 GB, free: 81.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 2.255/5.505, allocations: 0.7106 GB / 3.224 GB, free: 112 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/5.505, allocations: 7.625 kB / 3.224 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005611/5.511, allocations: 0.5263 MB / 3.225 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007127/5.518, allocations: 2.878 MB / 3.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/5.518, allocations: 27.53 kB / 3.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/5.519, allocations: 98.03 kB / 3.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002689/5.522, allocations: 1.943 MB / 3.23 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/5.524, allocations: 1.601 MB / 3.231 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/5.524, allocations: 8.969 kB / 3.231 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/5.524, allocations: 7.781 kB / 3.231 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/5.524, allocations: 23.03 kB / 3.231 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/5.534, allocations: 8.054 MB / 3.239 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/5.536, allocations: 1.919 MB / 3.241 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/5.537, allocations: 0.903 MB / 3.242 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/5.538, allocations: 0.5281 MB / 3.243 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/5.538, allocations: 37.94 kB / 3.243 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/5.538, allocations: 0.5625 kB / 3.243 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.007732/5.546, allocations: 2.761 MB / 3.245 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/5.546, allocations: 59.28 kB / 3.245 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006665/5.552, allocations: 3.174 MB / 3.248 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/5.553, allocations: 30.14 kB / 3.248 GB, free: 107 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/5.554, allocations: 0.574 MB / 3.249 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004802/5.555, allocations: 230.5 kB / 3.249 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/5.555, allocations: 0 / 3.249 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002129/5.555, allocations: 406.6 kB / 3.25 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/5.559, allocations: 2.884 MB / 3.252 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006224/5.565, allocations: 3.458 MB / 3.256 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008838/5.574, allocations: 2.96 MB / 3.259 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/5.574, allocations: 5.938 kB / 3.259 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01635/5.591, allocations: 6.53 MB / 3.265 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005189/5.591, allocations: 2.632 MB / 3.268 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/5.591, allocations: 6.312 kB / 3.268 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/5.592, allocations: 121.5 kB / 3.268 GB, free: 98.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/5.597, allocations: 0.5044 MB / 3.268 GB, free: 98.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/5.599, allocations: 1.341 MB / 3.27 GB, free: 97.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/5.604, allocations: 392.4 kB / 3.27 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/5.606, allocations: 184.1 kB / 3.27 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/5.606, allocations: 7.062 kB / 3.27 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01669/5.622, allocations: 6.231 MB / 3.276 GB, free: 92.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/5.622, allocations: 8 kB / 3.276 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/5.622, allocations: 19.92 kB / 3.276 GB, free: 92.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/5.626, allocations: 0.5114 MB / 3.277 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/5.626, allocations: 17.25 kB / 3.277 GB, free: 92.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00426/5.631, allocations: 311.8 kB / 3.277 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008479/5.631, allocations: 182.5 kB / 3.277 GB, free: 92.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 52 (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],vav.idx_sorted[1],vav.idx_sorted[2],vav.idx_sorted[3],vav.idx_sorted[4],vav.idx_sorted[5],vav.idx_sorted[6],vav.idx_sorted[7],vav.idx_sorted[8],vav.idx_sorted[9],vav.idx_sorted[10],vav.idx_sorted[11],vav.idx_sorted[12],vav.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 251 * Array equations: 4 * 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.0008004/5.632, allocations: 189.6 kB / 3.277 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009094/5.633, allocations: 205.1 kB / 3.278 GB, free: 91.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008282/5.641, allocations: 3.134 MB / 3.281 GB, free: 89.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/5.642, allocations: 8 kB / 3.281 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/5.642, allocations: 0 / 3.281 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/5.642, allocations: 6.391 kB / 3.281 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/5.655, allocations: 5.312 MB / 3.286 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/5.655, allocations: 0 / 3.286 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/5.657, allocations: 244.1 kB / 3.286 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/5.657, allocations: 123.6 kB / 3.286 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/5.657, allocations: 43.95 kB / 3.286 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/5.658, allocations: 1.308 MB / 3.288 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/5.658, allocations: 3.938 kB / 3.288 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007009/5.665, allocations: 3.152 MB / 3.291 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007217/5.672, allocations: 3.655 MB / 3.294 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/5.674, allocations: 0.7501 MB / 3.295 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/5.675, allocations: 3.984 kB / 3.295 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/5.677, allocations: 118.9 kB / 3.295 GB, free: 75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/5.677, allocations: 58.61 kB / 3.295 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/5.677, allocations: 108 kB / 3.295 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003782/5.681, allocations: 2.351 MB / 3.297 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009563/5.691, allocations: 1.842 MB / 3.299 GB, free: 70.64 MB / 0.6823 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 (80): * Single equations (assignments): 78 * 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.004268/5.695, allocations: 1.999 MB / 3.301 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01311/5.708, allocations: 7.841 MB / 3.309 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/5.708, allocations: 0 / 3.309 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/5.71, allocations: 0.8322 MB / 3.31 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/5.713, allocations: 420.8 kB / 3.31 GB, free: 60 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/5.722, allocations: 3.064 MB / 3.313 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/5.725, allocations: 1.809 MB / 3.315 GB, free: 55.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/5.725, allocations: 0 / 3.315 GB, free: 55.08 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)