Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.001191/0.001191, allocations: 191.7 kB / 7.806 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.4625/0.4625, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.388/1.388, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.001113/0.001113, allocations: 89.53 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.1922, allocations: 78.46 MB / 494 MB, free: 7.926 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.6376, allocations: 72.31 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.975, allocations: 2.119 GB / 2.672 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/4.975, allocations: 92.89 kB / 2.672 GB, free: 173.4 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 2.289/7.264, allocations: 0.722 GB / 3.394 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/7.264, allocations: 9.156 kB / 3.394 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/7.268, allocations: 0.5105 MB / 3.395 GB, free: 97.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/7.273, allocations: 1.402 MB / 3.396 GB, free: 96.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/7.273, allocations: 33.28 kB / 3.396 GB, free: 96.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/7.274, allocations: 68.86 kB / 3.396 GB, free: 96.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002465/7.276, allocations: 1.243 MB / 3.397 GB, free: 96.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/7.278, allocations: 1.184 MB / 3.399 GB, free: 96.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/7.278, allocations: 3.891 kB / 3.399 GB, free: 96.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/7.278, allocations: 3.875 kB / 3.399 GB, free: 96.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/7.278, allocations: 38 kB / 3.399 GB, free: 96.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007847/7.286, allocations: 5.108 MB / 3.404 GB, free: 94.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/7.287, allocations: 0.6014 MB / 3.404 GB, free: 94.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/7.288, allocations: 0.6045 MB / 3.405 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/7.288, allocations: 199.1 kB / 3.405 GB, free: 94.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/7.288, allocations: 46 kB / 3.405 GB, free: 94.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 4.238e-06/7.288, allocations: 2.812 kB / 3.405 GB, free: 94.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.006066/7.294, allocations: 2.674 MB / 3.408 GB, free: 93.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/7.294, allocations: 59.97 kB / 3.408 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/7.295, allocations: 0.7926 MB / 3.409 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/7.296, allocations: 35.61 kB / 3.409 GB, free: 93.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/7.296, allocations: 405 kB / 3.409 GB, free: 93.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/7.296, allocations: 285.3 kB / 3.409 GB, free: 93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/7.296, allocations: 0 / 3.409 GB, free: 93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/7.296, allocations: 339.8 kB / 3.41 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/7.297, allocations: 458.7 kB / 3.41 GB, free: 92.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/7.297, allocations: 0.6066 MB / 3.411 GB, free: 92.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/7.298, allocations: 0.5684 MB / 3.411 GB, free: 92.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/7.298, allocations: 3.281 kB / 3.411 GB, free: 92.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001671/7.3, allocations: 1.237 MB / 3.412 GB, free: 92.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/7.3, allocations: 0.7908 MB / 3.413 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/7.3, allocations: 3.719 kB / 3.413 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/7.3, allocations: 69.86 kB / 3.413 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/7.301, allocations: 185.2 kB / 3.413 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/7.303, allocations: 2.919 MB / 3.416 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/7.305, allocations: 114.2 kB / 3.416 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/7.305, allocations: 36.31 kB / 3.416 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/7.305, allocations: 3.812 kB / 3.416 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/7.307, allocations: 1.096 MB / 3.417 GB, free: 89.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/7.307, allocations: 3.906 kB / 3.417 GB, free: 89.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/7.307, allocations: 72.02 kB / 3.417 GB, free: 89.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/7.308, allocations: 168.4 kB / 3.418 GB, free: 89.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/7.309, allocations: 1.713 MB / 3.419 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/7.311, allocations: 113.4 kB / 3.419 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/7.311, allocations: 34.77 kB / 3.419 GB, free: 87.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/7.311, allocations: 122.2 kB / 3.42 GB, free: 87.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/7.311, allocations: 113.7 kB / 3.42 GB, free: 87.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/7.313, allocations: 1.208 MB / 3.421 GB, free: 87.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/7.313, allocations: 7.781 kB / 3.421 GB, free: 87.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/7.313, allocations: 3.188 kB / 3.421 GB, free: 87.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/7.315, allocations: 1.28 MB / 3.422 GB, free: 87.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/7.32, allocations: 2.75 MB / 3.425 GB, free: 86.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/7.32, allocations: 0 / 3.425 GB, free: 86.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/7.321, allocations: 218.4 kB / 3.425 GB, free: 86.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/7.321, allocations: 70.05 kB / 3.425 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/7.321, allocations: 11.52 kB / 3.425 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/7.323, allocations: 2.909 MB / 3.428 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/7.323, allocations: 9.422 kB / 3.428 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002839/7.326, allocations: 2.008 MB / 3.43 GB, free: 83.15 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003715/7.329, allocations: 3.186 MB / 3.433 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/7.33, allocations: 331.9 kB / 3.433 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/7.331, allocations: 9.125 kB / 3.433 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/7.332, allocations: 84.83 kB / 3.433 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/7.332, allocations: 55.98 kB / 3.433 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/7.332, allocations: 32.17 kB / 3.434 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000934/7.333, allocations: 0.6257 MB / 3.434 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004773/7.338, allocations: 1.045 MB / 3.435 GB, free: 80.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/7.34, allocations: 1.519 MB / 3.437 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003012/7.343, allocations: 1.924 MB / 3.439 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.343, allocations: 4.656 kB / 3.439 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/7.344, allocations: 0.6692 MB / 3.439 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/7.348, allocations: 0.7088 MB / 3.44 GB, free: 79.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/7.353, allocations: 2.741 MB / 3.443 GB, free: 77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/7.355, allocations: 1.596 MB / 3.444 GB, free: 75.65 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/7.355, allocations: 0 / 3.444 GB, free: 75.65 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)