Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 188 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.000915, allocations: 92.92 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2959/0.2969, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/1.073, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.541/5.614, allocations: 2.067 GB / 3.04 GB, free: 6.918 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/5.614, allocations: 85.02 kB / 3.04 GB, free: 6.836 MB / 0.948 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.24/10.85, allocations: 1.42 GB / 4.46 GB, free: 25.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/10.85, allocations: 8 kB / 4.46 GB, free: 25.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/10.86, allocations: 210.1 kB / 4.46 GB, free: 25.67 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/10.86, allocations: 0.966 MB / 4.461 GB, free: 24.65 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/10.86, allocations: 89.41 kB / 4.461 GB, free: 24.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/10.86, allocations: 52 kB / 4.461 GB, free: 24.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007431/10.86, allocations: 419.3 kB / 4.461 GB, free: 24.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/10.86, allocations: 0.7807 MB / 4.462 GB, free: 23.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/10.86, allocations: 4 kB / 4.462 GB, free: 23.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/10.86, allocations: 4 kB / 4.462 GB, free: 23.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/10.86, allocations: 20 kB / 4.462 GB, free: 23.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/10.86, allocations: 4.863 MB / 4.467 GB, free: 18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/10.86, allocations: 392.8 kB / 4.467 GB, free: 17.49 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/10.87, allocations: 244.1 kB / 4.467 GB, free: 17.21 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/10.87, allocations: 105 kB / 4.468 GB, free: 17.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/10.87, allocations: 54.48 kB / 4.468 GB, free: 17.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/10.87, allocations: 3.938 kB / 4.468 GB, free: 17.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001376/10.87, allocations: 456.7 kB / 4.468 GB, free: 16.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/10.87, allocations: 401.9 kB / 4.468 GB, free: 16.08 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/10.87, allocations: 0.6483 MB / 4.469 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/10.87, allocations: 29.7 kB / 4.469 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/10.87, allocations: 386.6 kB / 4.469 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/10.87, allocations: 110.3 kB / 4.47 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/10.87, allocations: 0 / 4.47 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/10.87, allocations: 318 kB / 4.47 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/10.87, allocations: 83.97 kB / 4.47 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/10.87, allocations: 349.2 kB / 4.47 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/10.87, allocations: 137.8 kB / 4.47 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/10.87, allocations: 0 / 4.47 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007963/10.87, allocations: 469.9 kB / 4.471 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003274/10.87, allocations: 1.308 MB / 4.472 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/10.87, allocations: 4 kB / 4.472 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/10.87, allocations: 57.7 kB / 4.472 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/10.87, allocations: 103.9 kB / 4.472 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/10.87, allocations: 2.339 MB / 4.475 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/10.87, allocations: 59.98 kB / 4.475 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/10.87, allocations: 23.98 kB / 4.475 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/10.87, allocations: 7.906 kB / 4.475 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005038/10.87, allocations: 284.2 kB / 4.475 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/10.87, allocations: 4.344 kB / 4.475 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/10.87, allocations: 70.05 kB / 4.475 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/10.87, allocations: 75.88 kB / 4.475 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/10.88, allocations: 2.769 MB / 4.478 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/10.88, allocations: 71.69 kB / 4.478 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/10.88, allocations: 23.98 kB / 4.478 GB, free: 5.785 MB / 0.9636 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.0001955/10.88, allocations: 117.2 kB / 4.478 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/10.88, allocations: 102.8 kB / 4.478 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/10.88, allocations: 339.7 kB / 4.478 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/10.88, allocations: 6.625 kB / 4.478 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/10.88, allocations: 4 kB / 4.478 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/10.88, allocations: 4 kB / 4.478 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/10.88, allocations: 2.39 MB / 4.481 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/10.88, allocations: 8.031 kB / 4.481 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/10.88, allocations: 79.89 kB / 4.481 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/10.88, allocations: 53.69 kB / 4.481 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/10.88, allocations: 8 kB / 4.481 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008724/10.88, allocations: 2.312 MB / 4.483 GB, free: 136 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/10.88, allocations: 11.94 kB / 4.483 GB, free: 124 kB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001127/10.88, allocations: 0.9491 MB / 4.484 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001842/10.88, allocations: 1.551 MB / 4.486 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/10.89, allocations: 215.7 kB / 4.486 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/10.89, allocations: 8 kB / 4.486 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/10.89, allocations: 63.78 kB / 4.486 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/10.89, allocations: 35.88 kB / 4.486 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/10.89, allocations: 16 kB / 4.486 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0007094/10.89, allocations: 0.499 MB / 4.486 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005887/10.89, allocations: 1.667 MB / 4.488 GB, free: 10.69 MB / 0.9792 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.006764/10.9, allocations: 3.927 MB / 4.492 GB, free: 6.371 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001973/10.9, allocations: 0.6623 MB / 4.493 GB, free: 5.688 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/10.9, allocations: 4.562 kB / 4.493 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004496/10.9, allocations: 171.7 kB / 4.493 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/10.9, allocations: 412.9 kB / 4.493 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/10.91, allocations: 1.316 MB / 4.494 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009354/10.91, allocations: 1.224 MB / 4.496 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of SimCode: time 9.72e-07/10.91, allocations: 0 / 4.496 GB, free: 2.445 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)