Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_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.00247/0.00247, allocations: 182.4 kB / 7.458 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.479/1.479, allocations: 221.3 MB / 395 MB, free: 10.12 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.0009747/0.0009747, allocations: 112.5 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4578/0.4588, allocations: 88.43 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.6645, allocations: 82.3 MB / 0.6333 GB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.436/5.1, allocations: 1.88 GB / 2.514 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/5.101, allocations: 91.94 kB / 2.514 GB, free: 82.03 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 3.046/8.147, allocations: 0.7106 GB / 3.224 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/8.147, allocations: 10.56 kB / 3.224 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/8.153, allocations: 0.5244 MB / 3.225 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008961/8.162, allocations: 2.876 MB / 3.228 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/8.162, allocations: 28.28 kB / 3.228 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/8.164, allocations: 93.56 kB / 3.228 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003509/8.167, allocations: 1.949 MB / 3.23 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/8.171, allocations: 1.604 MB / 3.231 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/8.171, allocations: 9.562 kB / 3.231 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/8.171, allocations: 6.5 kB / 3.231 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/8.171, allocations: 25.16 kB / 3.231 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/8.191, allocations: 8.052 MB / 3.239 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/8.195, allocations: 1.912 MB / 3.241 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/8.197, allocations: 0.9094 MB / 3.242 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008757/8.198, allocations: 0.5259 MB / 3.243 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/8.198, allocations: 46.03 kB / 3.243 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.689e-06/8.198, allocations: 0 / 3.243 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.0122/8.21, allocations: 2.758 MB / 3.245 GB, free: 109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/8.21, allocations: 59.84 kB / 3.245 GB, free: 109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/8.221, allocations: 3.173 MB / 3.248 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002063/8.223, allocations: 29.08 kB / 3.248 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002607/8.226, allocations: 0.5668 MB / 3.249 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/8.226, allocations: 233.6 kB / 3.249 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/8.228, allocations: 0 / 3.249 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003818/8.228, allocations: 408 kB / 3.25 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006879/8.235, allocations: 2.882 MB / 3.252 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006752/8.242, allocations: 3.463 MB / 3.256 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00976/8.251, allocations: 2.963 MB / 3.259 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/8.252, allocations: 4.938 kB / 3.259 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.0216/8.273, allocations: 6.522 MB / 3.265 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/8.274, allocations: 2.641 MB / 3.268 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/8.274, allocations: 8.281 kB / 3.268 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/8.275, allocations: 118 kB / 3.268 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/8.28, allocations: 0.4968 MB / 3.268 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/8.282, allocations: 1.345 MB / 3.27 GB, free: 99.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/8.289, allocations: 398.5 kB / 3.27 GB, free: 99.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/8.29, allocations: 182.2 kB / 3.27 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/8.291, allocations: 6.719 kB / 3.27 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02024/8.311, allocations: 6.233 MB / 3.276 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/8.311, allocations: 8.656 kB / 3.276 GB, free: 94.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/8.311, allocations: 18.06 kB / 3.276 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/8.315, allocations: 0.5093 MB / 3.277 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/8.315, allocations: 24.3 kB / 3.277 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/8.321, allocations: 311.3 kB / 3.277 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/8.323, allocations: 182.4 kB / 3.277 GB, free: 93.8 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.002158/8.325, allocations: 187.1 kB / 3.277 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/8.327, allocations: 201.1 kB / 3.278 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009589/8.336, allocations: 3.133 MB / 3.281 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/8.336, allocations: 8 kB / 3.281 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/8.336, allocations: 6.938 kB / 3.281 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/8.336, allocations: 6.375 kB / 3.281 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/8.352, allocations: 5.317 MB / 3.286 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/8.352, allocations: 4 kB / 3.286 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/8.354, allocations: 231.2 kB / 3.286 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/8.354, allocations: 132.2 kB / 3.286 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/8.354, allocations: 35.97 kB / 3.286 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/8.355, allocations: 1.31 MB / 3.288 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/8.356, allocations: 3.094 kB / 3.288 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00869/8.364, allocations: 3.154 MB / 3.291 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008808/8.373, allocations: 3.658 MB / 3.294 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/8.376, allocations: 0.7394 MB / 3.295 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/8.378, allocations: 4 kB / 3.295 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/8.382, allocations: 118.3 kB / 3.295 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/8.382, allocations: 56.48 kB / 3.295 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/8.382, allocations: 108 kB / 3.295 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00601/8.388, allocations: 2.355 MB / 3.297 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01153/8.4, allocations: 1.853 MB / 3.299 GB, free: 72.17 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.004619/8.404, allocations: 1.985 MB / 3.301 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01576/8.42, allocations: 7.846 MB / 3.309 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/8.42, allocations: 0 / 3.309 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/8.422, allocations: 0.8286 MB / 3.31 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/8.426, allocations: 425.6 kB / 3.31 GB, free: 61.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/8.439, allocations: 3.064 MB / 3.313 GB, free: 58.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004448/8.443, allocations: 1.815 MB / 3.315 GB, free: 56.62 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/8.443, allocations: 0 / 3.315 GB, free: 56.62 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_Damper.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)