Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="IDEAS_dev_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.003086/0.003086, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7085/0.7085, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.624/1.624, allocations: 221.4 MB / 395 MB, free: 10.16 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.0009947/0.0009942, allocations: 93.28 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5826/0.5836, allocations: 88.44 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.8176, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.012/5.83, allocations: 2.129 GB / 2.762 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/5.83, allocations: 99.88 kB / 2.762 GB, free: 112.3 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.708/8.538, allocations: 0.715 GB / 3.477 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/8.538, allocations: 11.53 kB / 3.477 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/8.542, allocations: 0.5017 MB / 3.478 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/8.545, allocations: 1.402 MB / 3.479 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/8.545, allocations: 32.16 kB / 3.479 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/8.545, allocations: 65.81 kB / 3.479 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002714/8.548, allocations: 1.23 MB / 3.48 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/8.55, allocations: 1.179 MB / 3.481 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/8.55, allocations: 11.33 kB / 3.481 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/8.55, allocations: 0 / 3.481 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/8.55, allocations: 35.47 kB / 3.481 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/8.557, allocations: 4.951 MB / 3.486 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/8.559, allocations: 1.023 MB / 3.487 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/8.559, allocations: 0.5991 MB / 3.488 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/8.56, allocations: 200.8 kB / 3.488 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/8.56, allocations: 41.19 kB / 3.488 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 3.025e-06/8.56, allocations: 0 / 3.488 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84): time 0.005424/8.565, allocations: 2.652 MB / 3.491 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/8.565, allocations: 58.72 kB / 3.491 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/8.566, allocations: 0.7971 MB / 3.492 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/8.566, allocations: 25.7 kB / 3.492 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/8.567, allocations: 406 kB / 3.492 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/8.567, allocations: 287.8 kB / 3.492 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/8.567, allocations: 6.844 kB / 3.492 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/8.567, allocations: 346.2 kB / 3.493 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/8.568, allocations: 453 kB / 3.493 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/8.568, allocations: 0.5933 MB / 3.494 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/8.569, allocations: 0.5678 MB / 3.494 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/8.569, allocations: 0 / 3.494 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001608/8.571, allocations: 1.227 MB / 3.495 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/8.571, allocations: 0.7917 MB / 3.496 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/8.571, allocations: 3.906 kB / 3.496 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/8.571, allocations: 73.5 kB / 3.496 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/8.572, allocations: 190.8 kB / 3.496 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/8.574, allocations: 2.907 MB / 3.499 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/8.576, allocations: 102.6 kB / 3.499 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/8.576, allocations: 34.23 kB / 3.499 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/8.576, allocations: 4.438 kB / 3.499 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/8.578, allocations: 1.086 MB / 3.5 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/8.578, allocations: 1.594 kB / 3.5 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/8.578, allocations: 71.92 kB / 3.5 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/8.578, allocations: 167.3 kB / 3.501 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/8.58, allocations: 1.724 MB / 3.502 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/8.581, allocations: 106.7 kB / 3.502 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/8.581, allocations: 28.84 kB / 3.502 GB, free: 120.5 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.0002533/8.582, allocations: 115 kB / 3.503 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/8.582, allocations: 113.6 kB / 3.503 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/8.584, allocations: 1.214 MB / 3.504 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/8.584, allocations: 10.98 kB / 3.504 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/8.584, allocations: 0 / 3.504 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/8.585, allocations: 1.265 MB / 3.505 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/8.59, allocations: 2.732 MB / 3.508 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/8.59, allocations: 0 / 3.508 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/8.591, allocations: 229.4 kB / 3.508 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/8.591, allocations: 68.53 kB / 3.508 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/8.591, allocations: 16.81 kB / 3.508 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/8.592, allocations: 2.906 MB / 3.511 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/8.593, allocations: 0 / 3.511 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002273/8.595, allocations: 2.122 MB / 3.513 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004628/8.599, allocations: 3.311 MB / 3.516 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/8.6, allocations: 330.9 kB / 3.517 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/8.601, allocations: 10.34 kB / 3.517 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/8.602, allocations: 88.66 kB / 3.517 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/8.602, allocations: 51.55 kB / 3.517 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/8.602, allocations: 33.67 kB / 3.517 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008697/8.603, allocations: 0.629 MB / 3.517 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005135/8.608, allocations: 1.044 MB / 3.518 GB, free: 115.4 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.002618/8.61, allocations: 1.518 MB / 3.52 GB, free: 115 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003173/8.614, allocations: 1.911 MB / 3.522 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/8.614, allocations: 2.844 kB / 3.522 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007759/8.614, allocations: 0.6642 MB / 3.522 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/8.618, allocations: 0.7155 MB / 3.523 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/8.623, allocations: 2.725 MB / 3.526 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/8.624, allocations: 1.596 MB / 3.527 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.254e-06/8.624, allocations: 0 / 3.527 GB, free: 112.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)