Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.001048/0.001048, allocations: 184.6 kB / 7.457 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6674/0.6674, allocations: 133.5 MB / 141.4 MB, free: 4.906 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.4 MB / 395 MB, free: 13.78 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 102.7 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.356/0.3571, allocations: 88.43 MB / 0.5529 GB, free: 49.93 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.922, allocations: 82.3 MB / 0.6333 GB, free: 5.621 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.754/5.676, allocations: 1.944 GB / 2.577 GB, free: 246.1 MB / 0.6902 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/5.677, allocations: 85.69 kB / 2.577 GB, free: 246.1 MB / 0.6902 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.273/6.95, allocations: 400.9 MB / 2.969 GB, free: 119 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/6.95, allocations: 8 kB / 2.969 GB, free: 119 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/6.952, allocations: 293.4 kB / 2.969 GB, free: 118.7 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009967/6.953, allocations: 490.3 kB / 2.969 GB, free: 118.2 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/6.953, allocations: 88.94 kB / 2.969 GB, free: 118.1 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/6.953, allocations: 24 kB / 2.969 GB, free: 118.1 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006647/6.954, allocations: 401.8 kB / 2.97 GB, free: 117.7 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/6.954, allocations: 499.9 kB / 2.97 GB, free: 117.2 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/6.954, allocations: 0 / 2.97 GB, free: 117.2 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/6.954, allocations: 4 kB / 2.97 GB, free: 117.2 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/6.954, allocations: 20.94 kB / 2.97 GB, free: 117.2 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/6.958, allocations: 2.087 MB / 2.972 GB, free: 115 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/6.958, allocations: 146.5 kB / 2.972 GB, free: 114.9 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/6.958, allocations: 80.84 kB / 2.973 GB, free: 114.8 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/6.958, allocations: 7.984 kB / 2.973 GB, free: 114.8 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/6.958, allocations: 30.56 kB / 2.973 GB, free: 114.7 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=11): time 1.923e-06/6.958, allocations: 8 kB / 2.973 GB, free: 114.7 MB / 0.6902 GB Notification: Performance of matching and sorting (n=11): time 0.001801/6.96, allocations: 432.7 kB / 2.973 GB, free: 114.3 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/6.96, allocations: 81.11 kB / 2.973 GB, free: 114.2 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/6.96, allocations: 353 kB / 2.973 GB, free: 113.8 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/6.961, allocations: 25.7 kB / 2.973 GB, free: 113.8 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/6.961, allocations: 266.9 kB / 2.974 GB, free: 113.5 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/6.961, allocations: 39.61 kB / 2.974 GB, free: 113.5 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/6.961, allocations: 0 / 2.974 GB, free: 113.5 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/6.961, allocations: 354.6 kB / 2.974 GB, free: 113.2 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/6.961, allocations: 99.97 kB / 2.974 GB, free: 113.1 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/6.961, allocations: 194.4 kB / 2.974 GB, free: 112.8 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/6.961, allocations: 132.8 kB / 2.974 GB, free: 112.7 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/6.961, allocations: 0 / 2.974 GB, free: 112.7 MB / 0.6902 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001678/6.963, allocations: 0.5396 MB / 2.975 GB, free: 112.1 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/6.963, allocations: 8 kB / 2.975 GB, free: 112.1 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/6.963, allocations: 0 / 2.975 GB, free: 112.1 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/6.964, allocations: 136.8 kB / 2.975 GB, free: 112 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/6.964, allocations: 79.94 kB / 2.975 GB, free: 111.9 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/6.966, allocations: 1.729 MB / 2.977 GB, free: 110.1 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/6.967, allocations: 83.69 kB / 2.977 GB, free: 110 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/6.967, allocations: 12.06 kB / 2.977 GB, free: 110 MB / 0.6902 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.0001585/6.967, allocations: 112.9 kB / 2.977 GB, free: 109.9 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/6.967, allocations: 39.53 kB / 2.977 GB, free: 109.8 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/6.967, allocations: 39.2 kB / 2.977 GB, free: 109.8 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/6.967, allocations: 7.906 kB / 2.977 GB, free: 109.8 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/6.967, allocations: 0 / 2.977 GB, free: 109.8 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/6.967, allocations: 0 / 2.977 GB, free: 109.8 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/6.969, allocations: 0.8992 MB / 2.978 GB, free: 108.8 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/6.969, allocations: 7.844 kB / 2.978 GB, free: 108.8 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/6.969, allocations: 56.02 kB / 2.978 GB, free: 108.8 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/6.97, allocations: 116.9 kB / 2.978 GB, free: 108.7 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/6.97, allocations: 19.92 kB / 2.978 GB, free: 108.6 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/6.972, allocations: 1.721 MB / 2.98 GB, free: 106.8 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/6.972, allocations: 0 / 2.98 GB, free: 106.8 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/6.973, allocations: 0.5554 MB / 2.98 GB, free: 106.2 MB / 0.6902 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001812/6.975, allocations: 0.9811 MB / 2.981 GB, free: 105.2 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/6.975, allocations: 164.5 kB / 2.982 GB, free: 105 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/6.975, allocations: 4 kB / 2.982 GB, free: 105 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/6.976, allocations: 63.94 kB / 2.982 GB, free: 104.9 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/6.976, allocations: 7.984 kB / 2.982 GB, free: 104.9 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/6.976, allocations: 15.98 kB / 2.982 GB, free: 104.9 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.0002628/6.976, allocations: 267.2 kB / 2.982 GB, free: 104.7 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.001707/6.978, allocations: 355.5 kB / 2.982 GB, free: 104.3 MB / 0.6902 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.001797/6.98, allocations: 1.148 MB / 2.983 GB, free: 103.3 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.0007669/6.981, allocations: 341.8 kB / 2.984 GB, free: 103 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/6.981, allocations: 0 / 2.984 GB, free: 103 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/6.981, allocations: 197.6 kB / 2.984 GB, free: 102.8 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/6.982, allocations: 177.2 kB / 2.984 GB, free: 102.6 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/6.985, allocations: 0.7254 MB / 2.985 GB, free: 101.8 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006397/6.986, allocations: 0.9154 MB / 2.986 GB, free: 100.9 MB / 0.6902 GB Notification: Performance of SimCode: time 9.52e-07/6.986, allocations: 0 / 2.986 GB, free: 100.9 MB / 0.6902 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)