Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.Validation.CoupledVolumesAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir",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.6891/0.6891, allocations: 141.8 MB / 149.1 MB, free: 4.379 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.001038/0.001038, allocations: 180.6 kB / 181.9 MB, free: 60 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.4 MB / 436 MB, free: 9.219 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.001012/0.001012, allocations: 90.8 kB / 0.507 GB, free: 24.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 282.2 kB / 0.5884 GB, free: 12.25 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.1722, allocations: 89.64 MB / 0.676 GB, free: 2.527 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.53, allocations: 82.77 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.589/4.119, allocations: 2.125 GB / 2.881 GB, free: 235.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/4.119, allocations: 96.61 kB / 2.882 GB, free: 235.4 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 1.226/5.345, allocations: 490.5 MB / 3.361 GB, free: 15.45 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/5.345, allocations: 16.94 kB / 3.361 GB, free: 15.44 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/5.347, allocations: 314.5 kB / 3.361 GB, free: 15.13 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/5.349, allocations: 0.7648 MB / 3.362 GB, free: 14.32 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/5.349, allocations: 20 kB / 3.362 GB, free: 14.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/5.349, allocations: 39.91 kB / 3.362 GB, free: 14.26 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008884/5.35, allocations: 0.4985 MB / 3.362 GB, free: 13.76 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/5.351, allocations: 0.5077 MB / 3.363 GB, free: 13.25 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/5.351, allocations: 4 kB / 3.363 GB, free: 13.25 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/5.351, allocations: 0 / 3.363 GB, free: 13.25 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/5.351, allocations: 21.31 kB / 3.363 GB, free: 13.22 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/5.354, allocations: 2.69 MB / 3.365 GB, free: 10.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/5.354, allocations: 418.8 kB / 3.366 GB, free: 9.887 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/5.355, allocations: 250 kB / 3.366 GB, free: 9.641 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/5.355, allocations: 101.5 kB / 3.366 GB, free: 9.523 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/5.355, allocations: 46.88 kB / 3.366 GB, free: 9.469 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=46): time 2.265e-06/5.355, allocations: 0 / 3.366 GB, free: 9.469 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49): time 0.002789/5.358, allocations: 1.301 MB / 3.367 GB, free: 8.109 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/5.358, allocations: 55.84 kB / 3.367 GB, free: 8.043 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/5.358, allocations: 426.3 kB / 3.368 GB, free: 7.625 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/5.358, allocations: 25.7 kB / 3.368 GB, free: 7.594 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/5.358, allocations: 268.3 kB / 3.368 GB, free: 7.324 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/5.359, allocations: 173.4 kB / 3.368 GB, free: 7.152 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/5.359, allocations: 0 / 3.368 GB, free: 7.152 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/5.359, allocations: 370.8 kB / 3.369 GB, free: 6.781 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/5.359, allocations: 173 kB / 3.369 GB, free: 6.613 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/5.359, allocations: 283.5 kB / 3.369 GB, free: 6.293 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/5.361, allocations: 0.7882 MB / 3.37 GB, free: 5.484 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/5.361, allocations: 0 / 3.37 GB, free: 5.484 MB / 0.6982 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008063/5.362, allocations: 0.5577 MB / 3.37 GB, free: 4.918 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/5.362, allocations: 0.7048 MB / 3.371 GB, free: 4.16 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/5.362, allocations: 0 / 3.371 GB, free: 4.16 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/5.362, allocations: 36.84 kB / 3.371 GB, free: 4.121 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/5.363, allocations: 111.8 kB / 3.371 GB, free: 4.012 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/5.364, allocations: 2.025 MB / 3.373 GB, free: 1.844 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/5.365, allocations: 47.92 kB / 3.373 GB, free: 1.797 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/5.365, allocations: 19.91 kB / 3.373 GB, free: 1.777 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/5.365, allocations: 7.938 kB / 3.373 GB, free: 1.77 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006683/5.366, allocations: 470.2 kB / 3.374 GB, free: 1.305 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/5.366, allocations: 4 kB / 3.374 GB, free: 1.301 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.55e-05/5.366, allocations: 36.98 kB / 3.374 GB, free: 1.262 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/5.366, allocations: 99.83 kB / 3.374 GB, free: 1.164 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2521/5.618, allocations: 1.43 MB / 3.375 GB, free: 187.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/5.619, allocations: 44.52 kB / 3.375 GB, free: 187.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/5.619, allocations: 18.31 kB / 3.375 GB, free: 187.7 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002029/5.62, allocations: 122.4 kB / 3.375 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/5.62, allocations: 68.03 kB / 3.375 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/5.621, allocations: 0.5251 MB / 3.376 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/5.621, allocations: 8.719 kB / 3.376 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/5.621, allocations: 3.562 kB / 3.376 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006329/5.621, allocations: 0.7572 MB / 3.377 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/5.623, allocations: 1.441 MB / 3.378 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/5.623, allocations: 2.531 kB / 3.378 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/5.624, allocations: 132.5 kB / 3.378 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/5.624, allocations: 32.16 kB / 3.378 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/5.624, allocations: 11.64 kB / 3.378 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008811/5.625, allocations: 1.89 MB / 3.38 GB, free: 185 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.625, allocations: 0 / 3.38 GB, free: 185 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009838/5.626, allocations: 0.9612 MB / 3.381 GB, free: 184.7 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001481/5.627, allocations: 1.675 MB / 3.383 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/5.628, allocations: 199.2 kB / 3.383 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/5.628, allocations: 6.859 kB / 3.383 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/5.628, allocations: 41.83 kB / 3.383 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/5.628, allocations: 25.11 kB / 3.383 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/5.628, allocations: 22.45 kB / 3.383 GB, free: 184 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003101/5.629, allocations: 326.9 kB / 3.383 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002853/5.632, allocations: 0.7161 MB / 3.384 GB, free: 183.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/5.633, allocations: 1.389 MB / 3.385 GB, free: 183.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001477/5.635, allocations: 0.9645 MB / 3.386 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.635, allocations: 0 / 3.386 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/5.635, allocations: 357.6 kB / 3.387 GB, free: 183.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/5.637, allocations: 425.5 kB / 3.387 GB, free: 183.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/5.639, allocations: 1.284 MB / 3.388 GB, free: 183 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/5.64, allocations: 1.089 MB / 3.389 GB, free: 182.3 MB / 0.6982 GB Notification: Performance of SimCode: time 4.21e-07/5.64, allocations: 0 / 3.389 GB, free: 182.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)