Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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/BuildSysPro 3.5.0/package.mo): time 0.809/0.809, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 193.2 kB / 164.4 MB, free: 6.914 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 399.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 87.69 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3294/0.3306, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.4949, allocations: 76.74 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/5.946, allocations: 2.147 GB / 2.768 GB, free: 65.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/5.946, allocations: 87.94 kB / 2.768 GB, free: 65.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 1.052/6.998, allocations: 264.3 MB / 3.026 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/6.998, allocations: 11.94 kB / 3.026 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/7, allocations: 174.9 kB / 3.026 GB, free: 51.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/7.002, allocations: 0.5626 MB / 3.026 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/7.002, allocations: 16 kB / 3.026 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/7.002, allocations: 35.94 kB / 3.027 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/7.003, allocations: 458.5 kB / 3.027 GB, free: 50.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/7.004, allocations: 0.5565 MB / 3.027 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/7.004, allocations: 0 / 3.027 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/7.004, allocations: 0 / 3.027 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/7.004, allocations: 25.3 kB / 3.028 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/7.008, allocations: 2.139 MB / 3.03 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/7.009, allocations: 202.8 kB / 3.03 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/7.009, allocations: 120.7 kB / 3.03 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/7.009, allocations: 4.516 kB / 3.03 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/7.009, allocations: 38.56 kB / 3.03 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/7.009, allocations: 0 / 3.03 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.001037/7.01, allocations: 314.9 kB / 3.03 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/7.01, allocations: 81.11 kB / 3.03 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/7.011, allocations: 369 kB / 3.031 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/7.011, allocations: 25.7 kB / 3.031 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/7.011, allocations: 291.6 kB / 3.031 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/7.011, allocations: 70.95 kB / 3.031 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/7.011, allocations: 7.938 kB / 3.031 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/7.011, allocations: 346.8 kB / 3.031 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/7.011, allocations: 100.6 kB / 3.031 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/7.011, allocations: 206 kB / 3.032 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/7.012, allocations: 145 kB / 3.032 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/7.012, allocations: 0 / 3.032 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007289/7.012, allocations: 425.4 kB / 3.032 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/7.012, allocations: 4 kB / 3.032 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/7.012, allocations: 4 kB / 3.032 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/7.013, allocations: 89.66 kB / 3.032 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/7.013, allocations: 71.91 kB / 3.032 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/7.015, allocations: 2.811 MB / 3.035 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/7.016, allocations: 55.72 kB / 3.035 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/7.016, allocations: 12.06 kB / 3.035 GB, free: 41.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001544/7.016, allocations: 112.8 kB / 3.035 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/7.016, allocations: 43.53 kB / 3.035 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/7.017, allocations: 43.56 kB / 3.035 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/7.017, allocations: 11.97 kB / 3.035 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/7.017, allocations: 0 / 3.035 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005207/7.017, allocations: 499.3 kB / 3.036 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/7.018, allocations: 0.8094 MB / 3.037 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/7.018, allocations: 0 / 3.037 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/7.019, allocations: 44.05 kB / 3.037 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/7.019, allocations: 64.81 kB / 3.037 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/7.019, allocations: 0 / 3.037 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/7.02, allocations: 1.53 MB / 3.038 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/7.02, allocations: 0 / 3.038 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005645/7.021, allocations: 419.6 kB / 3.039 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008347/7.022, allocations: 0.8314 MB / 3.039 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/7.022, allocations: 164.6 kB / 3.04 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/7.022, allocations: 0 / 3.04 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/7.023, allocations: 39.81 kB / 3.04 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/7.023, allocations: 15.97 kB / 3.04 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/7.023, allocations: 15.98 kB / 3.04 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003287/7.023, allocations: 287.1 kB / 3.04 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002091/7.025, allocations: 371.4 kB / 3.04 GB, free: 36.16 MB / 0.6355 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/7.027, allocations: 1.094 MB / 3.041 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008628/7.028, allocations: 459.2 kB / 3.042 GB, free: 34.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.028, allocations: 0 / 3.042 GB, free: 34.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/7.028, allocations: 214.4 kB / 3.042 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/7.03, allocations: 233.2 kB / 3.042 GB, free: 34.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/7.032, allocations: 0.6593 MB / 3.043 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/7.033, allocations: 0.9628 MB / 3.044 GB, free: 32.45 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/7.033, allocations: 4 kB / 3.044 GB, free: 32.44 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)