Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.0/package.mo): time 2.527/2.527, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001621/0.001621, allocations: 177.3 kB / 360.3 MB, free: 7.523 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.852/1.852, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001403/0.001402, allocations: 84.75 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.301/0.3025, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.9784, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.849, allocations: 2.066 GB / 3.029 GB, free: 52.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/5.849, allocations: 88.34 kB / 3.029 GB, free: 52.32 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 9.825/15.67, allocations: 2.076 GB / 5.105 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/15.67, allocations: 6.969 kB / 5.105 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/15.68, allocations: 201.1 kB / 5.105 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/15.68, allocations: 0.953 MB / 5.106 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/15.68, allocations: 92.92 kB / 5.106 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/15.68, allocations: 54 kB / 5.106 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/15.68, allocations: 393.4 kB / 5.107 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/15.68, allocations: 0.7568 MB / 5.107 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/15.68, allocations: 5.656 kB / 5.107 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/15.68, allocations: 9.5 kB / 5.107 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/15.68, allocations: 20.75 kB / 5.107 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006857/15.69, allocations: 4.627 MB / 5.112 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/15.69, allocations: 378 kB / 5.112 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/15.69, allocations: 236.3 kB / 5.112 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/15.69, allocations: 103 kB / 5.113 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/15.69, allocations: 52.53 kB / 5.113 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/15.69, allocations: 1.156 kB / 5.113 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=31): time 0.001884/15.69, allocations: 398.8 kB / 5.113 GB, free: 122 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/15.69, allocations: 401.1 kB / 5.113 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/15.7, allocations: 0.6572 MB / 5.114 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/15.7, allocations: 30.05 kB / 5.114 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/15.7, allocations: 399 kB / 5.114 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/15.7, allocations: 105.6 kB / 5.115 GB, free: 121 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/15.7, allocations: 0 / 5.115 GB, free: 121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/15.7, allocations: 315.9 kB / 5.115 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/15.7, allocations: 73.23 kB / 5.115 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/15.7, allocations: 339.7 kB / 5.115 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/15.7, allocations: 123.5 kB / 5.115 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/15.7, allocations: 4.625 kB / 5.115 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001266/15.7, allocations: 396.5 kB / 5.116 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/15.7, allocations: 4.719 kB / 5.116 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/15.7, allocations: 4.25 kB / 5.116 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/15.7, allocations: 60.64 kB / 5.116 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/15.7, allocations: 66.19 kB / 5.116 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/15.7, allocations: 2.76 MB / 5.119 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/15.7, allocations: 63.59 kB / 5.119 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/15.7, allocations: 28.95 kB / 5.119 GB, free: 117.7 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002107/15.7, allocations: 121.8 kB / 5.119 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/15.7, allocations: 103.8 kB / 5.119 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/15.7, allocations: 96.19 kB / 5.119 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/15.7, allocations: 5.781 kB / 5.119 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/15.7, allocations: 5 kB / 5.119 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/15.7, allocations: 11.95 kB / 5.119 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/15.71, allocations: 2.348 MB / 5.121 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/15.71, allocations: 5.281 kB / 5.121 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/15.71, allocations: 54.77 kB / 5.121 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/15.71, allocations: 67.3 kB / 5.121 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/15.71, allocations: 10.53 kB / 5.121 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/15.71, allocations: 2.774 MB / 5.124 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/15.71, allocations: 7.781 kB / 5.124 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001462/15.71, allocations: 0.8653 MB / 5.125 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002083/15.72, allocations: 1.441 MB / 5.126 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/15.72, allocations: 206.3 kB / 5.127 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/15.72, allocations: 11.69 kB / 5.127 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/15.72, allocations: 57.41 kB / 5.127 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/15.72, allocations: 37.41 kB / 5.127 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/15.72, allocations: 17.81 kB / 5.127 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001068/15.72, allocations: 0.5081 MB / 5.127 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005145/15.72, allocations: 0.9798 MB / 5.128 GB, free: 111.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006854/15.73, allocations: 3.9 MB / 5.132 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001186/15.73, allocations: 451.2 kB / 5.132 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/15.73, allocations: 2.875 kB / 5.132 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/15.73, allocations: 347.1 kB / 5.133 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/15.74, allocations: 417.3 kB / 5.133 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/15.74, allocations: 1.289 MB / 5.134 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/15.74, allocations: 1.216 MB / 5.136 GB, free: 108 MB / 0.9636 GB Notification: Performance of SimCode: time 1.082e-06/15.74, allocations: 2.625 kB / 5.136 GB, free: 108 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)