Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="IDEAS_IDEAS_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.004611/0.004611, allocations: 175.8 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009865, allocations: 93.36 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6333/0.6343, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.873, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.686/6.559, allocations: 2.129 GB / 2.762 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/6.56, allocations: 91.94 kB / 2.762 GB, free: 110.4 MB / 0.6823 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.909/9.469, allocations: 0.715 GB / 3.477 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/9.469, allocations: 11.81 kB / 3.477 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/9.473, allocations: 0.5027 MB / 3.478 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/9.478, allocations: 1.4 MB / 3.479 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/9.478, allocations: 35.98 kB / 3.479 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004761/9.478, allocations: 66.56 kB / 3.479 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002666/9.481, allocations: 1.226 MB / 3.48 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/9.483, allocations: 1.188 MB / 3.481 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/9.483, allocations: 5.312 kB / 3.481 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/9.483, allocations: 0 / 3.481 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/9.484, allocations: 39.53 kB / 3.481 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007138/9.491, allocations: 4.944 MB / 3.486 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/9.492, allocations: 1.017 MB / 3.487 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/9.493, allocations: 0.5929 MB / 3.488 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/9.493, allocations: 211.4 kB / 3.488 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/9.493, allocations: 41.91 kB / 3.488 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 3.326e-06/9.493, allocations: 0 / 3.488 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84): time 0.005424/9.498, allocations: 2.652 MB / 3.491 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/9.498, allocations: 63.06 kB / 3.491 GB, free: 122 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/9.499, allocations: 0.7964 MB / 3.492 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/9.5, allocations: 25.7 kB / 3.492 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/9.5, allocations: 406 kB / 3.492 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/9.5, allocations: 289.8 kB / 3.492 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/9.5, allocations: 0 / 3.492 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/9.5, allocations: 344.4 kB / 3.493 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/9.501, allocations: 452.9 kB / 3.493 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/9.501, allocations: 0.5969 MB / 3.494 GB, free: 121 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/9.502, allocations: 0.5699 MB / 3.494 GB, free: 121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/9.502, allocations: 3.719 kB / 3.494 GB, free: 121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001739/9.504, allocations: 1.221 MB / 3.495 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002199/9.504, allocations: 0.7919 MB / 3.496 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/9.504, allocations: 6.344 kB / 3.496 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/9.504, allocations: 71.53 kB / 3.496 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/9.505, allocations: 190.8 kB / 3.496 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/9.508, allocations: 2.911 MB / 3.499 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/9.509, allocations: 109.1 kB / 3.499 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/9.51, allocations: 27.19 kB / 3.499 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/9.51, allocations: 2.375 kB / 3.499 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/9.511, allocations: 1.091 MB / 3.5 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/9.511, allocations: 3.719 kB / 3.5 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/9.512, allocations: 72.88 kB / 3.5 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/9.512, allocations: 167.9 kB / 3.501 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/9.514, allocations: 1.721 MB / 3.502 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/9.516, allocations: 99.41 kB / 3.502 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/9.516, allocations: 32.47 kB / 3.502 GB, free: 116.2 MB / 0.6823 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.0002768/9.516, allocations: 118.7 kB / 3.503 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/9.516, allocations: 110.7 kB / 3.503 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/9.518, allocations: 1.207 MB / 3.504 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/9.518, allocations: 10.12 kB / 3.504 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/9.518, allocations: 0 / 3.504 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/9.519, allocations: 1.263 MB / 3.505 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/9.524, allocations: 2.736 MB / 3.508 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.524, allocations: 3.656 kB / 3.508 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/9.525, allocations: 237.9 kB / 3.508 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/9.525, allocations: 70.23 kB / 3.508 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/9.525, allocations: 14.03 kB / 3.508 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/9.527, allocations: 2.899 MB / 3.511 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/9.527, allocations: 0.8438 kB / 3.511 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002342/9.529, allocations: 2.13 MB / 3.513 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004337/9.533, allocations: 3.313 MB / 3.516 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009384/9.534, allocations: 323.3 kB / 3.517 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/9.535, allocations: 10.5 kB / 3.517 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/9.536, allocations: 88.84 kB / 3.517 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/9.536, allocations: 51.11 kB / 3.517 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/9.536, allocations: 32.86 kB / 3.517 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001098/9.537, allocations: 0.6278 MB / 3.517 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005478/9.542, allocations: 1.04 MB / 3.518 GB, free: 111.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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.002717/9.545, allocations: 1.518 MB / 3.52 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003776/9.549, allocations: 1.916 MB / 3.522 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/9.549, allocations: 2.094 kB / 3.522 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/9.55, allocations: 0.6666 MB / 3.522 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/9.554, allocations: 0.7127 MB / 3.523 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/9.559, allocations: 2.728 MB / 3.526 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/9.56, allocations: 1.593 MB / 3.527 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.026e-06/9.561, allocations: 1 kB / 3.527 GB, free: 108.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)