Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 285.5 MB / 292.8 MB, free: 9.848 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.001028/0.001028, allocations: 179.5 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 0.6195 GB, free: 2.902 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 86.84 kB / 0.7326 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4535/0.4544, allocations: 121.4 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.6406, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.789/4.43, allocations: 2.066 GB / 3.03 GB, free: 313.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/4.43, allocations: 79.95 kB / 3.03 GB, free: 313.8 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 4.159/8.589, allocations: 1.42 GB / 4.45 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/8.589, allocations: 7.031 kB / 4.45 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/8.59, allocations: 201.8 kB / 4.45 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/8.593, allocations: 0.9593 MB / 4.451 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/8.593, allocations: 97.36 kB / 4.451 GB, free: 118 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/8.593, allocations: 57.31 kB / 4.451 GB, free: 118 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008532/8.594, allocations: 414.5 kB / 4.451 GB, free: 118 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/8.595, allocations: 0.7828 MB / 4.452 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/8.595, allocations: 7.219 kB / 4.452 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/8.595, allocations: 7.328 kB / 4.452 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/8.595, allocations: 21.69 kB / 4.452 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/8.6, allocations: 4.875 MB / 4.457 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/8.6, allocations: 382.2 kB / 4.457 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/8.6, allocations: 256.1 kB / 4.458 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/8.6, allocations: 107.9 kB / 4.458 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/8.601, allocations: 49.72 kB / 4.458 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/8.601, allocations: 2.656 kB / 4.458 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001345/8.602, allocations: 457.7 kB / 4.458 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/8.602, allocations: 388.8 kB / 4.459 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/8.603, allocations: 0.657 MB / 4.459 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/8.603, allocations: 32.08 kB / 4.459 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/8.603, allocations: 379.8 kB / 4.46 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/8.603, allocations: 108.6 kB / 4.46 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/8.603, allocations: 0 / 4.46 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/8.603, allocations: 324.2 kB / 4.46 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/8.603, allocations: 80.62 kB / 4.46 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/8.603, allocations: 350.1 kB / 4.46 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/8.604, allocations: 137.9 kB / 4.461 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/8.604, allocations: 0 / 4.461 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000804/8.604, allocations: 464.2 kB / 4.461 GB, free: 112 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/8.605, allocations: 1.321 MB / 4.462 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/8.605, allocations: 3.719 kB / 4.462 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/8.605, allocations: 62.22 kB / 4.462 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/8.605, allocations: 94.16 kB / 4.462 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/8.606, allocations: 2.33 MB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/8.607, allocations: 61.48 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/8.607, allocations: 31.7 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/8.607, allocations: 5.031 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004983/8.608, allocations: 284.3 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/8.608, allocations: 3.844 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/8.608, allocations: 69.81 kB / 4.465 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/8.608, allocations: 81.42 kB / 4.465 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/8.61, allocations: 2.769 MB / 4.468 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/8.611, allocations: 63.73 kB / 4.468 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/8.611, allocations: 22.19 kB / 4.468 GB, free: 105.8 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.0001459/8.611, allocations: 121.2 kB / 4.468 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/8.611, allocations: 108.5 kB / 4.468 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/8.612, allocations: 325.4 kB / 4.469 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/8.612, allocations: 5.891 kB / 4.469 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/8.612, allocations: 10.62 kB / 4.469 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/8.612, allocations: 3.938 kB / 4.469 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/8.615, allocations: 2.393 MB / 4.471 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/8.615, allocations: 7.625 kB / 4.471 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/8.615, allocations: 67.31 kB / 4.471 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/8.615, allocations: 64.61 kB / 4.471 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/8.615, allocations: 6.438 kB / 4.471 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008235/8.616, allocations: 2.319 MB / 4.473 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/8.616, allocations: 7.5 kB / 4.473 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007438/8.617, allocations: 0.95 MB / 4.474 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00137/8.618, allocations: 1.533 MB / 4.476 GB, free: 100 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/8.619, allocations: 209.6 kB / 4.476 GB, free: 99.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/8.619, allocations: 10.88 kB / 4.476 GB, free: 99.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/8.619, allocations: 59.78 kB / 4.476 GB, free: 99.85 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/8.619, allocations: 39.92 kB / 4.476 GB, free: 99.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/8.62, allocations: 22.23 kB / 4.476 GB, free: 99.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0005599/8.62, allocations: 0.4989 MB / 4.477 GB, free: 99.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005476/8.626, allocations: 1.666 MB / 4.478 GB, free: 99.7 MB / 0.9636 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.004374/8.63, allocations: 3.922 MB / 4.482 GB, free: 98.14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001557/8.632, allocations: 0.6732 MB / 4.483 GB, free: 97.92 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/8.632, allocations: 0 / 4.483 GB, free: 97.92 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/8.632, allocations: 177 kB / 4.483 GB, free: 97.92 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/8.634, allocations: 408.4 kB / 4.483 GB, free: 97.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/8.637, allocations: 1.325 MB / 4.485 GB, free: 97.36 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/8.638, allocations: 1.224 MB / 4.486 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of SimCode: time 5.82e-07/8.638, allocations: 0 / 4.486 GB, free: 96.65 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)