Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",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 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.4 MB / 397.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 181.4 kB / 490.8 MB, free: 11.21 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.555/1.555, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 98.98 kB / 0.9264 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3772/0.3783, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/1.371, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/6.053, allocations: 1.873 GB / 3.084 GB, free: 229.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/6.054, allocations: 85.36 kB / 3.084 GB, free: 229.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 5.294/11.35, allocations: 1.432 GB / 4.517 GB, free: 108.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/11.35, allocations: 8 kB / 4.517 GB, free: 108.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/11.35, allocations: 202.2 kB / 4.517 GB, free: 107.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/11.35, allocations: 0.9612 MB / 4.518 GB, free: 106.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/11.35, allocations: 97.39 kB / 4.518 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/11.35, allocations: 52 kB / 4.518 GB, free: 106.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008078/11.35, allocations: 415.9 kB / 4.518 GB, free: 106.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/11.35, allocations: 0.7846 MB / 4.519 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/11.35, allocations: 0 / 4.519 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/11.35, allocations: 4 kB / 4.519 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/11.35, allocations: 20 kB / 4.519 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/11.36, allocations: 4.87 MB / 4.524 GB, free: 100.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/11.36, allocations: 396.7 kB / 4.524 GB, free: 99.76 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/11.36, allocations: 248.1 kB / 4.524 GB, free: 99.47 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/11.36, allocations: 109 kB / 4.524 GB, free: 99.35 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/11.36, allocations: 50.5 kB / 4.525 GB, free: 99.29 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/11.36, allocations: 0 / 4.525 GB, free: 99.29 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001476/11.36, allocations: 461.5 kB / 4.525 GB, free: 98.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/11.36, allocations: 401.5 kB / 4.525 GB, free: 98.35 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/11.36, allocations: 0.6484 MB / 4.526 GB, free: 97.69 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/11.36, allocations: 29.7 kB / 4.526 GB, free: 97.65 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/11.36, allocations: 380.5 kB / 4.526 GB, free: 97.27 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/11.36, allocations: 106.3 kB / 4.526 GB, free: 97.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/11.36, allocations: 3.938 kB / 4.526 GB, free: 97.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001109/11.36, allocations: 318 kB / 4.527 GB, free: 96.84 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/11.36, allocations: 85.84 kB / 4.527 GB, free: 96.76 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/11.36, allocations: 348.5 kB / 4.527 GB, free: 96.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/11.36, allocations: 130.2 kB / 4.527 GB, free: 96.18 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/11.36, allocations: 4 kB / 4.527 GB, free: 96.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008292/11.37, allocations: 469.4 kB / 4.528 GB, free: 95.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000374/11.37, allocations: 1.324 MB / 4.529 GB, free: 94.28 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/11.37, allocations: 4 kB / 4.529 GB, free: 94.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/11.37, allocations: 61.69 kB / 4.529 GB, free: 94.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/11.37, allocations: 87.88 kB / 4.529 GB, free: 94.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/11.37, allocations: 2.335 MB / 4.531 GB, free: 91.69 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/11.37, allocations: 67.81 kB / 4.532 GB, free: 91.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/11.37, allocations: 30.94 kB / 4.532 GB, free: 91.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/11.37, allocations: 4 kB / 4.532 GB, free: 91.59 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005227/11.37, allocations: 281.2 kB / 4.532 GB, free: 91.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/11.37, allocations: 4.188 kB / 4.532 GB, free: 91.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/11.37, allocations: 69.92 kB / 4.532 GB, free: 91.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/11.37, allocations: 71.83 kB / 4.532 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/11.37, allocations: 2.772 MB / 4.535 GB, free: 88.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/11.37, allocations: 63.83 kB / 4.535 GB, free: 88.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/11.37, allocations: 23.98 kB / 4.535 GB, free: 88.07 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000208/11.37, allocations: 129 kB / 4.535 GB, free: 87.94 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/11.37, allocations: 98.78 kB / 4.535 GB, free: 87.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000687/11.37, allocations: 324.3 kB / 4.535 GB, free: 87.52 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/11.37, allocations: 8.188 kB / 4.535 GB, free: 87.51 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/11.37, allocations: 8 kB / 4.535 GB, free: 87.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/11.37, allocations: 7.984 kB / 4.535 GB, free: 87.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/11.38, allocations: 2.391 MB / 4.538 GB, free: 85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/11.38, allocations: 4 kB / 4.538 GB, free: 84.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/11.38, allocations: 84.5 kB / 4.538 GB, free: 84.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/11.38, allocations: 49.7 kB / 4.538 GB, free: 84.86 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/11.38, allocations: 8 kB / 4.538 GB, free: 84.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/11.38, allocations: 2.32 MB / 4.54 GB, free: 82.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/11.38, allocations: 11.94 kB / 4.54 GB, free: 82.42 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008054/11.38, allocations: 0.9445 MB / 4.541 GB, free: 81.28 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001586/11.38, allocations: 1.536 MB / 4.542 GB, free: 79.55 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/11.38, allocations: 215.7 kB / 4.543 GB, free: 79.32 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/11.38, allocations: 11.91 kB / 4.543 GB, free: 79.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/11.38, allocations: 55.94 kB / 4.543 GB, free: 79.25 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/11.38, allocations: 31.89 kB / 4.543 GB, free: 79.22 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/11.38, allocations: 19.98 kB / 4.543 GB, free: 79.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006276/11.38, allocations: 0.4991 MB / 4.543 GB, free: 78.69 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005047/11.39, allocations: 1.666 MB / 4.545 GB, free: 77.02 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005258/11.39, allocations: 3.941 MB / 4.549 GB, free: 72.72 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001825/11.39, allocations: 0.6656 MB / 4.549 GB, free: 72.03 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/11.39, allocations: 1.25 kB / 4.549 GB, free: 72.03 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/11.4, allocations: 176.5 kB / 4.55 GB, free: 71.86 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/11.4, allocations: 405.4 kB / 4.55 GB, free: 71.47 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/11.4, allocations: 1.323 MB / 4.551 GB, free: 70.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/11.4, allocations: 1.217 MB / 4.552 GB, free: 68.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.383e-06/11.4, allocations: 0 / 4.552 GB, free: 68.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)