Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",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.00449/0.00449, allocations: 177.4 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7016/0.7016, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.514/1.514, 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.0009745/0.0009743, allocations: 94.41 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5/0.501, allocations: 88.41 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.6892, allocations: 82.32 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.362/5.051, allocations: 1.89 GB / 2.523 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/5.051, allocations: 87.95 kB / 2.523 GB, free: 71.8 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 3.587/8.638, allocations: 0.9308 GB / 3.454 GB, free: 94.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/8.638, allocations: 6.438 kB / 3.454 GB, free: 94.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/8.641, allocations: 421.4 kB / 3.455 GB, free: 94.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/8.644, allocations: 1.109 MB / 3.456 GB, free: 94.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/8.644, allocations: 30.25 kB / 3.456 GB, free: 94.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/8.644, allocations: 52.34 kB / 3.456 GB, free: 94.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/8.645, allocations: 0.7356 MB / 3.456 GB, free: 94.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/8.647, allocations: 0.7306 MB / 3.457 GB, free: 94.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/8.647, allocations: 0 / 3.457 GB, free: 94.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/8.647, allocations: 0 / 3.457 GB, free: 94.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/8.647, allocations: 30.84 kB / 3.457 GB, free: 94.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/8.652, allocations: 3.785 MB / 3.461 GB, free: 92.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/8.653, allocations: 0.5801 MB / 3.462 GB, free: 92.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/8.654, allocations: 368.1 kB / 3.462 GB, free: 92.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/8.655, allocations: 0.6486 MB / 3.462 GB, free: 92.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/8.655, allocations: 38.31 kB / 3.463 GB, free: 92.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.997e-06/8.655, allocations: 0 / 3.463 GB, free: 92.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002623/8.657, allocations: 0.914 MB / 3.463 GB, free: 92.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/8.657, allocations: 59 kB / 3.463 GB, free: 91.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/8.658, allocations: 0.5958 MB / 3.464 GB, free: 91.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/8.658, allocations: 29.17 kB / 3.464 GB, free: 91.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/8.658, allocations: 345.7 kB / 3.464 GB, free: 91.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/8.659, allocations: 200.8 kB / 3.465 GB, free: 91.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/8.659, allocations: 2.094 kB / 3.465 GB, free: 91.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/8.659, allocations: 326.8 kB / 3.465 GB, free: 91.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/8.659, allocations: 241.9 kB / 3.465 GB, free: 91.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/8.66, allocations: 384.2 kB / 3.466 GB, free: 91.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/8.66, allocations: 380.6 kB / 3.466 GB, free: 91.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/8.66, allocations: 0 / 3.466 GB, free: 91.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001252/8.662, allocations: 0.78 MB / 3.467 GB, free: 90.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/8.662, allocations: 449.5 kB / 3.467 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/8.662, allocations: 3.938 kB / 3.467 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/8.662, allocations: 6.531 kB / 3.467 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/8.662, allocations: 139.2 kB / 3.467 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/8.662, allocations: 4.281 kB / 3.467 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/8.663, allocations: 114 kB / 3.467 GB, free: 90.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/8.664, allocations: 25.52 kB / 3.467 GB, free: 90.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/8.664, allocations: 6.219 kB / 3.467 GB, free: 90.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/8.665, allocations: 0.6488 MB / 3.468 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/8.665, allocations: 0 / 3.468 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/8.665, allocations: 5.188 kB / 3.468 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/8.665, allocations: 141.6 kB / 3.468 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/8.665, allocations: 5.25 kB / 3.468 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/8.666, allocations: 115.1 kB / 3.468 GB, free: 90.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/8.666, allocations: 25.03 kB / 3.468 GB, free: 90.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000148/8.666, allocations: 115.2 kB / 3.468 GB, free: 90.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/8.667, allocations: 97.19 kB / 3.468 GB, free: 90.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/8.668, allocations: 0.8123 MB / 3.469 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/8.668, allocations: 5.625 kB / 3.469 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/8.668, allocations: 3.906 kB / 3.469 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/8.669, allocations: 0.9752 MB / 3.47 GB, free: 89.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/8.673, allocations: 2.003 MB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/8.673, allocations: 7.469 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/8.674, allocations: 153 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/8.674, allocations: 3.531 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/8.674, allocations: 10.59 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/8.674, allocations: 15.75 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/8.674, allocations: 6.656 kB / 3.472 GB, free: 89.41 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002035/8.676, allocations: 1.439 MB / 3.474 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002987/8.679, allocations: 2.334 MB / 3.476 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/8.679, allocations: 262.6 kB / 3.476 GB, free: 87.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/8.68, allocations: 10.02 kB / 3.476 GB, free: 87.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/8.681, allocations: 121.9 kB / 3.476 GB, free: 87.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/8.681, allocations: 39.67 kB / 3.476 GB, free: 87.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/8.681, allocations: 22.09 kB / 3.476 GB, free: 87.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006526/8.681, allocations: 474.8 kB / 3.477 GB, free: 87.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004314/8.686, allocations: 1.301 MB / 3.478 GB, free: 87.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.003455/8.689, allocations: 2.591 MB / 3.481 GB, free: 86.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00154/8.691, allocations: 0.9341 MB / 3.482 GB, free: 86.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/8.691, allocations: 0 / 3.482 GB, free: 86.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/8.691, allocations: 332.7 kB / 3.482 GB, free: 86.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/8.694, allocations: 0.5963 MB / 3.483 GB, free: 86.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/8.698, allocations: 1.732 MB / 3.484 GB, free: 86.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009771/8.699, allocations: 1.262 MB / 3.485 GB, free: 85.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.183e-06/8.699, allocations: 0 / 3.485 GB, free: 85.62 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)