Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001458/0.001458, allocations: 189.3 kB / 487 MB, free: 5.348 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.562/1.562, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0009309/0.0009306, allocations: 97.92 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6235/0.6245, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.9109, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.248/5.159, allocations: 1.872 GB / 3.077 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004213/5.159, allocations: 83.61 kB / 3.077 GB, free: 431.6 MB / 1.151 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.832/9.992, allocations: 1.432 GB / 4.509 GB, free: 179.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/9.992, allocations: 7.5 kB / 4.509 GB, free: 179.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/9.993, allocations: 204.3 kB / 4.51 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/9.996, allocations: 0.9579 MB / 4.511 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/9.996, allocations: 92.77 kB / 4.511 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/9.996, allocations: 60.22 kB / 4.511 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008022/9.997, allocations: 411.9 kB / 4.511 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/9.998, allocations: 0.7824 MB / 4.512 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/9.998, allocations: 7.031 kB / 4.512 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/9.998, allocations: 3.969 kB / 4.512 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/9.998, allocations: 19.69 kB / 4.512 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/10, allocations: 4.855 MB / 4.517 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/10, allocations: 387.5 kB / 4.517 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/10, allocations: 256.9 kB / 4.517 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/10, allocations: 105.4 kB / 4.517 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/10, allocations: 53.84 kB / 4.517 GB, free: 174.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/10, allocations: 0 / 4.517 GB, free: 174.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001365/10.01, allocations: 464.2 kB / 4.518 GB, free: 174.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/10.01, allocations: 403.2 kB / 4.518 GB, free: 174.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/10.01, allocations: 0.6418 MB / 4.519 GB, free: 174.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/10.01, allocations: 28.92 kB / 4.519 GB, free: 174.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/10.01, allocations: 383.8 kB / 4.519 GB, free: 173.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/10.01, allocations: 109.9 kB / 4.519 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/10.01, allocations: 0 / 4.519 GB, free: 173.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/10.01, allocations: 323.6 kB / 4.52 GB, free: 173.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/10.01, allocations: 82.52 kB / 4.52 GB, free: 173.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/10.01, allocations: 346.5 kB / 4.52 GB, free: 173.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/10.01, allocations: 134.4 kB / 4.52 GB, free: 173.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/10.01, allocations: 3.562 kB / 4.52 GB, free: 173.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007835/10.01, allocations: 463.9 kB / 4.521 GB, free: 173.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/10.01, allocations: 1.319 MB / 4.522 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/10.01, allocations: 6.391 kB / 4.522 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/10.01, allocations: 61.31 kB / 4.522 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/10.01, allocations: 87.22 kB / 4.522 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/10.01, allocations: 2.349 MB / 4.524 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/10.01, allocations: 61.75 kB / 4.524 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/10.01, allocations: 25 kB / 4.524 GB, free: 169.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/10.01, allocations: 3.062 kB / 4.524 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005293/10.01, allocations: 282.8 kB / 4.525 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/10.01, allocations: 7.094 kB / 4.525 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/10.01, allocations: 66.67 kB / 4.525 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/10.01, allocations: 75.22 kB / 4.525 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/10.01, allocations: 2.768 MB / 4.528 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/10.01, allocations: 61.84 kB / 4.528 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/10.01, allocations: 25.05 kB / 4.528 GB, free: 167 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.0001737/10.01, allocations: 125 kB / 4.528 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/10.01, allocations: 109 kB / 4.528 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/10.02, allocations: 330.8 kB / 4.528 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/10.02, allocations: 7.469 kB / 4.528 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/10.02, allocations: 3.688 kB / 4.528 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/10.02, allocations: 3.781 kB / 4.528 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/10.02, allocations: 2.38 MB / 4.53 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/10.02, allocations: 6.781 kB / 4.53 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/10.02, allocations: 82.77 kB / 4.531 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/10.02, allocations: 61.39 kB / 4.531 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/10.02, allocations: 10.38 kB / 4.531 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/10.02, allocations: 2.316 MB / 4.533 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/10.02, allocations: 5.719 kB / 4.533 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008091/10.02, allocations: 0.9444 MB / 4.534 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001388/10.02, allocations: 1.545 MB / 4.535 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/10.02, allocations: 218.6 kB / 4.536 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/10.02, allocations: 7.5 kB / 4.536 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/10.02, allocations: 57.53 kB / 4.536 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/10.02, allocations: 36.05 kB / 4.536 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/10.02, allocations: 22.5 kB / 4.536 GB, free: 161 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005824/10.02, allocations: 0.4977 MB / 4.536 GB, free: 160.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005087/10.03, allocations: 1.662 MB / 4.538 GB, free: 160.8 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.005124/10.03, allocations: 3.943 MB / 4.542 GB, free: 159.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001637/10.04, allocations: 0.6634 MB / 4.542 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/10.04, allocations: 3.469 kB / 4.542 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/10.04, allocations: 174.6 kB / 4.542 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/10.04, allocations: 416.3 kB / 4.543 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/10.04, allocations: 1.326 MB / 4.544 GB, free: 158.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/10.04, allocations: 1.22 MB / 4.545 GB, free: 157.7 MB / 1.167 GB Notification: Performance of SimCode: time 6.42e-07/10.04, allocations: 0 / 4.545 GB, free: 157.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)