Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",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.00562/0.00562, allocations: 179 kB / 7.46 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.7329/0.7329, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.693/1.693, allocations: 221.3 MB / 395 MB, free: 10.22 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.001025/0.001025, allocations: 97.78 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4214/0.4224, allocations: 88.43 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.6096, allocations: 82.29 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.675/7.284, allocations: 2.831 GB / 3.464 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/7.285, allocations: 83.95 kB / 3.464 GB, free: 217.2 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 6.261/13.55, allocations: 1.762 GB / 5.226 GB, free: 63.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/13.55, allocations: 10.95 kB / 5.226 GB, free: 63.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/13.55, allocations: 461.6 kB / 5.227 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/13.55, allocations: 1.32 MB / 5.228 GB, free: 61.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/13.55, allocations: 40 kB / 5.228 GB, free: 61.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/13.55, allocations: 76 kB / 5.228 GB, free: 61.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001598/13.55, allocations: 1.094 MB / 5.229 GB, free: 60.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/13.55, allocations: 1.472 MB / 5.23 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/13.55, allocations: 7.938 kB / 5.23 GB, free: 58.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/13.55, allocations: 4 kB / 5.23 GB, free: 58.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/13.55, allocations: 52.98 kB / 5.231 GB, free: 58.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006191/13.56, allocations: 6.521 MB / 5.237 GB, free: 51.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/13.56, allocations: 0.6231 MB / 5.237 GB, free: 51.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/13.56, allocations: 0.5952 MB / 5.238 GB, free: 50.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/13.56, allocations: 2.604 MB / 5.241 GB, free: 47.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/13.56, allocations: 47.34 kB / 5.241 GB, free: 47.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=72): time 5.58e-06/13.56, allocations: 8 kB / 5.241 GB, free: 47.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.003421/13.57, allocations: 1.119 MB / 5.242 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/13.57, allocations: 221.5 kB / 5.242 GB, free: 46.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/13.57, allocations: 0.7805 MB / 5.243 GB, free: 45.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/13.57, allocations: 29.7 kB / 5.243 GB, free: 45.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/13.57, allocations: 0.5023 MB / 5.243 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/13.57, allocations: 232.4 kB / 5.243 GB, free: 44.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/13.57, allocations: 0 / 5.243 GB, free: 44.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/13.57, allocations: 334 kB / 5.244 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/13.57, allocations: 293.2 kB / 5.244 GB, free: 43.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/13.57, allocations: 0.5703 MB / 5.245 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/13.57, allocations: 460.2 kB / 5.245 GB, free: 42.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/13.57, allocations: 8 kB / 5.245 GB, free: 42.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001654/13.57, allocations: 0.9389 MB / 5.246 GB, free: 41.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/13.57, allocations: 6.344 kB / 5.246 GB, free: 41.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/13.57, allocations: 4 kB / 5.246 GB, free: 41.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/13.57, allocations: 8 kB / 5.246 GB, free: 41.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/13.57, allocations: 127.8 kB / 5.246 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/13.57, allocations: 4 kB / 5.246 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/13.57, allocations: 55.64 kB / 5.246 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/13.57, allocations: 66.38 kB / 5.246 GB, free: 41.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/13.57, allocations: 121.2 kB / 5.246 GB, free: 41.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/13.57, allocations: 130.4 kB / 5.246 GB, free: 41.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/13.58, allocations: 1.087 MB / 5.248 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/13.58, allocations: 8 kB / 5.248 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/13.58, allocations: 4 kB / 5.248 GB, free: 40.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/13.58, allocations: 3.984 kB / 5.248 GB, free: 40.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00998/13.59, allocations: 8.581 MB / 5.256 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/13.59, allocations: 20 kB / 5.256 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/13.59, allocations: 139.8 kB / 5.256 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/13.59, allocations: 24 kB / 5.256 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/13.59, allocations: 28 kB / 5.256 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/13.59, allocations: 32.45 kB / 5.256 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/13.59, allocations: 27.44 kB / 5.256 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002291/13.59, allocations: 2.552 MB / 5.259 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002765/13.59, allocations: 3.06 MB / 5.262 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/13.59, allocations: 315.2 kB / 5.262 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/13.59, allocations: 23.98 kB / 5.262 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/13.59, allocations: 31.83 kB / 5.262 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/13.59, allocations: 95.59 kB / 5.262 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/13.59, allocations: 48 kB / 5.262 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007445/13.59, allocations: 0.607 MB / 5.263 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004315/13.6, allocations: 1.028 MB / 5.264 GB, free: 22.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005724/13.6, allocations: 3.221 MB / 5.267 GB, free: 19.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001203/13.61, allocations: 0.7905 MB / 5.268 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/13.61, allocations: 8.25 kB / 5.268 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/13.61, allocations: 465.4 kB / 5.268 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/13.61, allocations: 0.7287 MB / 5.269 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/13.61, allocations: 2.412 MB / 5.271 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/13.62, allocations: 1.538 MB / 5.273 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/13.62, allocations: 0 / 5.273 GB, free: 13.13 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)