Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.004027/0.004026, allocations: 179.5 kB / 7.455 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.8409/0.8409, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.517/1.517, allocations: 221.3 MB / 395 MB, free: 10.15 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.0009488/0.0009491, allocations: 105.9 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4551/0.4561, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.6784, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.591/5.27, allocations: 1.944 GB / 2.577 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004019/5.27, allocations: 91.45 kB / 2.577 GB, free: 16.6 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 1.702/6.972, allocations: 400.9 MB / 2.969 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/6.972, allocations: 8.312 kB / 2.969 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/6.974, allocations: 293 kB / 2.969 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/6.975, allocations: 484 kB / 2.969 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/6.976, allocations: 98.55 kB / 2.969 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/6.976, allocations: 23.62 kB / 2.969 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008667/6.977, allocations: 387.5 kB / 2.97 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/6.978, allocations: 0.4939 MB / 2.97 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/6.978, allocations: 0.7188 kB / 2.97 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/6.978, allocations: 1.875 kB / 2.97 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/6.978, allocations: 16.44 kB / 2.97 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/6.982, allocations: 2.071 MB / 2.972 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/6.982, allocations: 145.3 kB / 2.972 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/6.982, allocations: 83.23 kB / 2.973 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/6.982, allocations: 8.344 kB / 2.973 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/6.982, allocations: 41.38 kB / 2.973 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/6.982, allocations: 0 / 2.973 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002041/6.984, allocations: 446.4 kB / 2.973 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/6.984, allocations: 78.8 kB / 2.973 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/6.985, allocations: 353.4 kB / 2.973 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/6.985, allocations: 25.92 kB / 2.973 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/6.985, allocations: 258.9 kB / 2.974 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/6.985, allocations: 47.39 kB / 2.974 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/6.985, allocations: 0 / 2.974 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/6.985, allocations: 346.7 kB / 2.974 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/6.985, allocations: 104 kB / 2.974 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/6.985, allocations: 190.4 kB / 2.974 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/6.986, allocations: 135.6 kB / 2.974 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/6.986, allocations: 0 / 2.974 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001685/6.987, allocations: 0.548 MB / 2.975 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/6.987, allocations: 4 kB / 2.975 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/6.987, allocations: 4 kB / 2.975 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/6.988, allocations: 127.8 kB / 2.975 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/6.988, allocations: 87.39 kB / 2.975 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/6.99, allocations: 1.738 MB / 2.977 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/6.991, allocations: 74.14 kB / 2.977 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/6.991, allocations: 11.98 kB / 2.977 GB, free: 154.1 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.0002072/6.991, allocations: 124.8 kB / 2.977 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/6.991, allocations: 39.53 kB / 2.977 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/6.992, allocations: 35.22 kB / 2.977 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/6.992, allocations: 0 / 2.977 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/6.992, allocations: 4.188 kB / 2.977 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/6.992, allocations: 3.984 kB / 2.977 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/6.994, allocations: 0.8985 MB / 2.978 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/6.994, allocations: 0 / 2.978 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/6.994, allocations: 50.12 kB / 2.978 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/6.994, allocations: 127.5 kB / 2.978 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/6.994, allocations: 0 / 2.978 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/6.997, allocations: 1.742 MB / 2.98 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/6.997, allocations: 0 / 2.98 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001614/6.998, allocations: 0.5521 MB / 2.98 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001894/7, allocations: 0.9826 MB / 2.981 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/7, allocations: 148.6 kB / 2.982 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/7, allocations: 11.89 kB / 2.982 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/7.001, allocations: 61.89 kB / 2.982 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/7.001, allocations: 11.92 kB / 2.982 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/7.001, allocations: 15.98 kB / 2.982 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002971/7.001, allocations: 266.6 kB / 2.982 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001767/7.003, allocations: 363.5 kB / 2.982 GB, free: 148.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/7.005, allocations: 1.149 MB / 2.983 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006473/7.006, allocations: 331.7 kB / 2.984 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/7.006, allocations: 0 / 2.984 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/7.006, allocations: 209.5 kB / 2.984 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/7.007, allocations: 174.7 kB / 2.984 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/7.01, allocations: 0.7255 MB / 2.985 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/7.01, allocations: 0.9061 MB / 2.986 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/7.01, allocations: 0 / 2.986 GB, free: 145.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)