Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001032/0.001032, allocations: 189.5 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4433/0.4433, allocations: 90.85 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009826, allocations: 86.12 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1621/0.1631, allocations: 78.46 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.4835, allocations: 72.3 MB / 0.553 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.656/4.14, allocations: 1.901 GB / 2.454 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/4.14, allocations: 89.8 kB / 2.454 GB, free: 140.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.651/5.791, allocations: 478.3 MB / 2.922 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/5.791, allocations: 12.81 kB / 2.922 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/5.793, allocations: 298 kB / 2.922 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/5.796, allocations: 0.8569 MB / 2.923 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/5.796, allocations: 22.28 kB / 2.923 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/5.796, allocations: 35.53 kB / 2.923 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/5.798, allocations: 0.8834 MB / 2.924 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/5.8, allocations: 0.9 MB / 2.925 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/5.8, allocations: 0 / 2.925 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/5.8, allocations: 0 / 2.925 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.492e-05/5.8, allocations: 76.47 kB / 2.925 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/5.807, allocations: 3.53 MB / 2.928 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/5.809, allocations: 0.7309 MB / 2.929 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/5.809, allocations: 356.9 kB / 2.929 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/5.809, allocations: 197 kB / 2.929 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/5.809, allocations: 40.56 kB / 2.929 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/5.809, allocations: 0 / 2.929 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.001854/5.811, allocations: 0.7546 MB / 2.93 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/5.811, allocations: 110.7 kB / 2.93 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/5.812, allocations: 0.5523 MB / 2.931 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/5.812, allocations: 25.7 kB / 2.931 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/5.812, allocations: 310.7 kB / 2.931 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/5.812, allocations: 214.9 kB / 2.931 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/5.812, allocations: 3.562 kB / 2.931 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001161/5.813, allocations: 387.3 kB / 2.932 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/5.813, allocations: 311.8 kB / 2.932 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/5.814, allocations: 440.3 kB / 2.932 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/5.815, allocations: 0.676 MB / 2.933 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/5.815, allocations: 0 / 2.933 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002383/5.818, allocations: 1.153 MB / 2.934 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/5.818, allocations: 0.8732 MB / 2.935 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/5.818, allocations: 3.812 kB / 2.935 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/5.818, allocations: 6.844 kB / 2.935 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/5.819, allocations: 144.6 kB / 2.935 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/5.819, allocations: 13.16 kB / 2.935 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/5.82, allocations: 81.94 kB / 2.935 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/5.82, allocations: 36.83 kB / 2.935 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/5.82, allocations: 2.688 kB / 2.935 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/5.822, allocations: 0.9536 MB / 2.936 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.822, allocations: 0 / 2.936 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/5.822, allocations: 11.25 kB / 2.936 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/5.822, allocations: 149.8 kB / 2.936 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/5.822, allocations: 6.812 kB / 2.936 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009776/5.823, allocations: 76.8 kB / 2.936 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/5.824, allocations: 25.53 kB / 2.936 GB, free: 106.5 MB / 0.6042 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/5.824, allocations: 128.4 kB / 2.937 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/5.824, allocations: 85.72 kB / 2.937 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/5.826, allocations: 0.7721 MB / 2.937 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/5.826, allocations: 7.875 kB / 2.937 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/5.826, allocations: 0 / 2.937 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/5.827, allocations: 0.7301 MB / 2.938 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/5.83, allocations: 1.937 MB / 2.94 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/5.83, allocations: 6.656 kB / 2.94 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/5.831, allocations: 129.2 kB / 2.94 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/5.831, allocations: 7.188 kB / 2.94 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/5.831, allocations: 12.52 kB / 2.94 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/5.831, allocations: 6.469 kB / 2.94 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/5.831, allocations: 10.77 kB / 2.94 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002171/5.833, allocations: 1.486 MB / 2.942 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00319/5.837, allocations: 2.389 MB / 2.944 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/5.837, allocations: 249.1 kB / 2.944 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/5.837, allocations: 6.5 kB / 2.944 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/5.838, allocations: 39.25 kB / 2.944 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/5.838, allocations: 39.67 kB / 2.944 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/5.838, allocations: 21.47 kB / 2.944 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006506/5.839, allocations: 440 kB / 2.945 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005131/5.844, allocations: 1.244 MB / 2.946 GB, free: 101.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/5.848, allocations: 1.928 MB / 2.948 GB, free: 99.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001857/5.85, allocations: 1.132 MB / 2.949 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/5.85, allocations: 2.125 kB / 2.949 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/5.85, allocations: 346.4 kB / 2.949 GB, free: 98.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/5.853, allocations: 426.9 kB / 2.95 GB, free: 98.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/5.856, allocations: 1.508 MB / 2.951 GB, free: 96.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/5.857, allocations: 1.19 MB / 2.952 GB, free: 95.76 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/5.857, allocations: 0 / 2.952 GB, free: 95.76 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)