Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_9_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_9_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 181.3 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 91.31 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5169/0.5179, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.7148, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8425/1.557, allocations: 434 MB / 1.629 GB, free: 6.258 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.558, allocations: 107.2 kB / 1.629 GB, free: 6.195 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 1.064/2.622, allocations: 365.6 MB / 1.986 GB, free: 176.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/2.622, allocations: 8 kB / 1.986 GB, free: 176.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/2.622, allocations: 94.88 kB / 1.986 GB, free: 176.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009047/2.631, allocations: 3.356 MB / 1.99 GB, free: 173.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/2.631, allocations: 16 kB / 1.99 GB, free: 173.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/2.631, allocations: 32 kB / 1.99 GB, free: 173.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005179/2.632, allocations: 309.9 kB / 1.99 GB, free: 173 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/2.632, allocations: 405.1 kB / 1.99 GB, free: 172.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/2.632, allocations: 4 kB / 1.99 GB, free: 172.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/2.632, allocations: 3.906 kB / 1.99 GB, free: 172.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/2.632, allocations: 8 kB / 1.99 GB, free: 172.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/2.635, allocations: 2.595 MB / 1.993 GB, free: 169.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/2.636, allocations: 299.2 kB / 1.993 GB, free: 169.5 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/2.636, allocations: 133.1 kB / 1.993 GB, free: 169.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008429/2.637, allocations: 1.433 MB / 1.995 GB, free: 167.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/2.637, allocations: 38.75 kB / 1.995 GB, free: 167.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=35): time 2.504e-06/2.637, allocations: 0 / 1.995 GB, free: 167.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=35): time 0.0016/2.638, allocations: 465.4 kB / 1.995 GB, free: 167.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/2.638, allocations: 55.69 kB / 1.995 GB, free: 167 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/2.639, allocations: 495.5 kB / 1.996 GB, free: 166.5 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/2.639, allocations: 33.69 kB / 1.996 GB, free: 166.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/2.639, allocations: 243.9 kB / 1.996 GB, free: 166.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/2.639, allocations: 118.2 kB / 1.996 GB, free: 166.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/2.639, allocations: 0 / 1.996 GB, free: 166.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/2.639, allocations: 374.7 kB / 1.997 GB, free: 165.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/2.639, allocations: 116.8 kB / 1.997 GB, free: 165.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/2.64, allocations: 181.8 kB / 1.997 GB, free: 165.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/2.641, allocations: 293.2 kB / 1.997 GB, free: 165.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.641, allocations: 0 / 1.997 GB, free: 165.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001659/2.643, allocations: 0.5305 MB / 1.998 GB, free: 164.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/2.643, allocations: 364 kB / 1.998 GB, free: 164.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/2.643, allocations: 0 / 1.998 GB, free: 164.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/2.643, allocations: 4 kB / 1.998 GB, free: 164.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/2.643, allocations: 111.9 kB / 1.998 GB, free: 164.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002684/2.644, allocations: 0.5859 MB / 1.999 GB, free: 163.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/2.644, allocations: 55.72 kB / 1.999 GB, free: 163.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/2.644, allocations: 23.98 kB / 1.999 GB, free: 163.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/2.644, allocations: 4 kB / 1.999 GB, free: 163.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/2.646, allocations: 458.8 kB / 1.999 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.646, allocations: 4.094 kB / 1.999 GB, free: 163 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/2.646, allocations: 7.906 kB / 1.999 GB, free: 162.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/2.646, allocations: 95.88 kB / 1.999 GB, free: 162.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/2.646, allocations: 0 / 1.999 GB, free: 162.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/2.646, allocations: 47.72 kB / 1.999 GB, free: 162.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/2.646, allocations: 23.98 kB / 1.999 GB, free: 162.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 9.014e-05/2.647, allocations: 108.9 kB / 1.999 GB, free: 162.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/2.647, allocations: 67.16 kB / 1.999 GB, free: 162.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/2.648, allocations: 0.9255 MB / 2 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/2.648, allocations: 11.98 kB / 2 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.648, allocations: 0 / 2 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/2.648, allocations: 7.984 kB / 2 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/2.65, allocations: 1.362 MB / 2.002 GB, free: 160.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/2.651, allocations: 4 kB / 2.002 GB, free: 160.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/2.651, allocations: 87.88 kB / 2.002 GB, free: 160.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/2.651, allocations: 8.094 kB / 2.002 GB, free: 160.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/2.651, allocations: 8 kB / 2.002 GB, free: 160.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001758/2.651, allocations: 0.5938 MB / 2.002 GB, free: 159.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.651, allocations: 3.906 kB / 2.002 GB, free: 159.5 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001486/2.653, allocations: 1.031 MB / 2.003 GB, free: 158.4 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001873/2.655, allocations: 1.73 MB / 2.005 GB, free: 156.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/2.655, allocations: 216 kB / 2.005 GB, free: 156.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/2.655, allocations: 192 / 2.005 GB, free: 156.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/2.655, allocations: 35.81 kB / 2.005 GB, free: 156.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/2.655, allocations: 36.38 kB / 2.005 GB, free: 156.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/2.655, allocations: 23.98 kB / 2.005 GB, free: 156.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003452/2.656, allocations: 387.2 kB / 2.006 GB, free: 156 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002556/2.658, allocations: 0.6748 MB / 2.006 GB, free: 155.3 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0009627/2.659, allocations: 0.704 MB / 2.007 GB, free: 154.6 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0009448/2.66, allocations: 0.7046 MB / 2.008 GB, free: 153.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/2.66, allocations: 0 / 2.008 GB, free: 153.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/2.661, allocations: 325.2 kB / 2.008 GB, free: 153.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/2.662, allocations: 249.6 kB / 2.008 GB, free: 153.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/2.663, allocations: 1.082 MB / 2.009 GB, free: 152.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/2.664, allocations: 1.056 MB / 2.01 GB, free: 151.1 MB / 1.135 GB Notification: Performance of SimCode: time 2.7e-07/2.664, allocations: 0 / 2.01 GB, free: 151.1 MB / 1.135 GB (rm -f Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore_res.mat does not exist to compare? outputFormat=mat