Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 284.8 MB / 292.1 MB, free: 9.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 187.2 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.1 MB / 0.6187 GB, free: 3.305 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 94.91 kB / 0.7317 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5743/0.5757, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.8477, allocations: 115.2 MB / 0.9627 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.433/6.281, allocations: 2.07 GB / 3.033 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/6.282, allocations: 85.14 kB / 3.033 GB, free: 168.6 MB / 0.9323 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.872/8.154, allocations: 390.6 MB / 3.414 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/8.154, allocations: 12.5 kB / 3.414 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/8.158, allocations: 291 kB / 3.415 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/8.16, allocations: 480.2 kB / 3.415 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009298/8.161, allocations: 88.94 kB / 3.415 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/8.161, allocations: 24 kB / 3.415 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001945/8.163, allocations: 397.9 kB / 3.416 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/8.165, allocations: 489.2 kB / 3.416 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/8.166, allocations: 3.984 kB / 3.416 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/8.166, allocations: 7.984 kB / 3.416 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/8.166, allocations: 25 kB / 3.416 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00633/8.172, allocations: 2.085 MB / 3.418 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/8.173, allocations: 146.5 kB / 3.418 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/8.173, allocations: 84.83 kB / 3.418 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/8.173, allocations: 3.938 kB / 3.418 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/8.173, allocations: 38.56 kB / 3.418 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 2.856e-06/8.173, allocations: 0 / 3.418 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.003307/8.176, allocations: 429.8 kB / 3.419 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/8.176, allocations: 85.09 kB / 3.419 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/8.177, allocations: 345 kB / 3.419 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/8.177, allocations: 29.7 kB / 3.419 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/8.177, allocations: 266.9 kB / 3.42 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/8.177, allocations: 39.61 kB / 3.42 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/8.177, allocations: 0 / 3.42 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/8.177, allocations: 346.8 kB / 3.42 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/8.178, allocations: 108 kB / 3.42 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/8.178, allocations: 194.4 kB / 3.42 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/8.179, allocations: 134.4 kB / 3.42 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/8.179, allocations: 3.906 kB / 3.42 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003299/8.182, allocations: 0.5473 MB / 3.421 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/8.182, allocations: 8 kB / 3.421 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/8.182, allocations: 0 / 3.421 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/8.183, allocations: 128.9 kB / 3.421 GB, free: 143.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/8.183, allocations: 83.88 kB / 3.421 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/8.187, allocations: 1.728 MB / 3.423 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/8.188, allocations: 79.7 kB / 3.423 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/8.188, allocations: 12.25 kB / 3.423 GB, free: 141.6 MB / 0.9323 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.0002139/8.189, allocations: 112.9 kB / 3.423 GB, free: 141.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/8.189, allocations: 47.53 kB / 3.423 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/8.189, allocations: 35.22 kB / 3.423 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/8.189, allocations: 4 kB / 3.423 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/8.189, allocations: 0 / 3.423 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/8.189, allocations: 3.906 kB / 3.423 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/8.193, allocations: 0.903 MB / 3.424 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/8.193, allocations: 0 / 3.424 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/8.193, allocations: 48.02 kB / 3.424 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/8.194, allocations: 132.8 kB / 3.424 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/8.194, allocations: 3.906 kB / 3.424 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/8.198, allocations: 1.728 MB / 3.426 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/8.198, allocations: 4 kB / 3.426 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003235/8.201, allocations: 0.5554 MB / 3.426 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003457/8.204, allocations: 0.9737 MB / 3.427 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/8.205, allocations: 156.5 kB / 3.427 GB, free: 136.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/8.205, allocations: 7.984 kB / 3.428 GB, free: 136.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/8.206, allocations: 71.88 kB / 3.428 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/8.206, allocations: 15.92 kB / 3.428 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/8.206, allocations: 11.98 kB / 3.428 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004771/8.207, allocations: 263.2 kB / 3.428 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002509/8.209, allocations: 363.5 kB / 3.428 GB, free: 135.9 MB / 0.9323 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.001915/8.211, allocations: 1.141 MB / 3.429 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001076/8.212, allocations: 341.8 kB / 3.43 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/8.212, allocations: 0 / 3.43 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004259/8.213, allocations: 201.6 kB / 3.43 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/8.215, allocations: 178.6 kB / 3.43 GB, free: 134 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/8.22, allocations: 0.7119 MB / 3.431 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/8.22, allocations: 0.9119 MB / 3.432 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.383e-06/8.221, allocations: 0 / 3.432 GB, free: 132.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)