Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.713/0.713, allocations: 141.8 MB / 149.1 MB, free: 3.34 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 178.8 kB / 181.9 MB, free: 15.16 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.3 MB / 436 MB, free: 8.285 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 96.06 kB / 0.507 GB, free: 24.45 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001825, allocations: 278 kB / 0.5884 GB, free: 11.4 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1919/0.1938, allocations: 89.64 MB / 0.676 GB, free: 1.676 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.5759, allocations: 82.76 MB / 0.7568 GB, free: 111.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.426/4.002, allocations: 1.941 GB / 2.698 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/4.003, allocations: 83.94 kB / 2.698 GB, free: 130.2 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.8359/4.839, allocations: 270.5 MB / 2.962 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/4.839, allocations: 13.25 kB / 2.962 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/4.84, allocations: 175 kB / 2.962 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/4.841, allocations: 0.5286 MB / 2.963 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/4.841, allocations: 19.94 kB / 2.963 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/4.841, allocations: 32 kB / 2.963 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008196/4.842, allocations: 458.4 kB / 2.963 GB, free: 137 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/4.843, allocations: 0.5448 MB / 2.964 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/4.843, allocations: 0 / 2.964 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/4.843, allocations: 3.984 kB / 2.964 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/4.843, allocations: 21.31 kB / 2.964 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/4.846, allocations: 2.125 MB / 2.966 GB, free: 134.2 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/4.847, allocations: 218.8 kB / 2.966 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/4.847, allocations: 108.8 kB / 2.966 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/4.847, allocations: 4 kB / 2.966 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/4.847, allocations: 38.56 kB / 2.966 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/4.847, allocations: 4 kB / 2.966 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20): time 0.0008667/4.848, allocations: 309.6 kB / 2.967 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/4.848, allocations: 85.11 kB / 2.967 GB, free: 133.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/4.848, allocations: 357 kB / 2.967 GB, free: 133 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/4.848, allocations: 25.7 kB / 2.967 GB, free: 133 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/4.849, allocations: 298.9 kB / 2.967 GB, free: 132.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/4.849, allocations: 70.94 kB / 2.967 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/4.849, allocations: 0 / 2.967 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/4.849, allocations: 354.7 kB / 2.968 GB, free: 132.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/4.849, allocations: 108.6 kB / 2.968 GB, free: 132.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/4.849, allocations: 200 kB / 2.968 GB, free: 131.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/4.849, allocations: 144.9 kB / 2.968 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/4.849, allocations: 4 kB / 2.968 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006961/4.85, allocations: 434.8 kB / 2.969 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/4.85, allocations: 4 kB / 2.969 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/4.85, allocations: 7.906 kB / 2.969 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/4.85, allocations: 81.67 kB / 2.969 GB, free: 131.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/4.851, allocations: 79.89 kB / 2.969 GB, free: 131.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/4.853, allocations: 2.806 MB / 2.971 GB, free: 128.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/4.853, allocations: 43.58 kB / 2.972 GB, free: 128.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/4.853, allocations: 16.05 kB / 2.972 GB, free: 128 MB / 0.6982 GB 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 (34): * Single equations (assignments): 32 * 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.0001122/4.853, allocations: 113 kB / 2.972 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/4.854, allocations: 43.53 kB / 2.972 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/4.854, allocations: 43.47 kB / 2.972 GB, free: 127.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/4.854, allocations: 4 kB / 2.972 GB, free: 127.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/4.854, allocations: 3.906 kB / 2.972 GB, free: 127.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004786/4.854, allocations: 499.8 kB / 2.972 GB, free: 127.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/4.855, allocations: 0.8124 MB / 2.973 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/4.855, allocations: 0 / 2.973 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/4.855, allocations: 47.97 kB / 2.973 GB, free: 126.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/4.856, allocations: 60.81 kB / 2.973 GB, free: 126.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/4.856, allocations: 4 kB / 2.973 GB, free: 126.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/4.857, allocations: 1.522 MB / 2.975 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/4.857, allocations: 3.938 kB / 2.975 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005237/4.857, allocations: 423.6 kB / 2.975 GB, free: 124.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007084/4.858, allocations: 0.8293 MB / 2.976 GB, free: 123.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/4.858, allocations: 156.4 kB / 2.976 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/4.858, allocations: 4 kB / 2.976 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/4.859, allocations: 31.91 kB / 2.976 GB, free: 123.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/4.859, allocations: 15.98 kB / 2.976 GB, free: 123.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/4.859, allocations: 23.89 kB / 2.976 GB, free: 123.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002759/4.859, allocations: 271.2 kB / 2.976 GB, free: 122.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001804/4.861, allocations: 375.4 kB / 2.977 GB, free: 122.5 MB / 0.6982 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.001478/4.863, allocations: 1.071 MB / 2.978 GB, free: 121.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.000701/4.863, allocations: 467.6 kB / 2.978 GB, free: 120.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/4.863, allocations: 3.75 kB / 2.978 GB, free: 120.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/4.864, allocations: 217.5 kB / 2.978 GB, free: 120.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/4.865, allocations: 249.9 kB / 2.979 GB, free: 120.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/4.866, allocations: 0.6254 MB / 2.979 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/4.867, allocations: 0.9513 MB / 2.98 GB, free: 118.8 MB / 0.6982 GB Notification: Performance of SimCode: time 1.032e-06/4.867, allocations: 0 / 2.98 GB, free: 118.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)