Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004359/0.004363, allocations: 180 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 106.7 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4914/0.4925, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.6757, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.656/5.332, allocations: 1.835 GB / 2.468 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/5.332, allocations: 83.58 kB / 2.468 GB, free: 130.1 MB / 0.6823 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 7.963/13.29, allocations: 2.093 GB / 4.561 GB, free: 69.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/13.29, allocations: 12.64 kB / 4.561 GB, free: 69.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/13.3, allocations: 208.7 kB / 4.562 GB, free: 69.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/13.3, allocations: 0.942 MB / 4.562 GB, free: 68.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/13.3, allocations: 97.39 kB / 4.563 GB, free: 68.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/13.3, allocations: 51.69 kB / 4.563 GB, free: 68.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007766/13.3, allocations: 400.2 kB / 4.563 GB, free: 68.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/13.3, allocations: 0.7637 MB / 4.564 GB, free: 68.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/13.3, allocations: 7.922 kB / 4.564 GB, free: 68.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/13.3, allocations: 6.375 kB / 4.564 GB, free: 68.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/13.3, allocations: 19.22 kB / 4.564 GB, free: 68.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/13.3, allocations: 4.633 MB / 4.568 GB, free: 65.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/13.3, allocations: 382.9 kB / 4.569 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/13.3, allocations: 233.5 kB / 4.569 GB, free: 64.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/13.3, allocations: 107.8 kB / 4.569 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/13.3, allocations: 60.56 kB / 4.569 GB, free: 64.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.534e-06/13.3, allocations: 0 / 4.569 GB, free: 64.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001033/13.31, allocations: 390.2 kB / 4.569 GB, free: 64.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/13.31, allocations: 404.6 kB / 4.57 GB, free: 63.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/13.31, allocations: 0.6627 MB / 4.57 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/13.31, allocations: 32.92 kB / 4.57 GB, free: 63.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/13.31, allocations: 387.3 kB / 4.571 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/13.31, allocations: 107.9 kB / 4.571 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/13.31, allocations: 0 / 4.571 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/13.31, allocations: 323.2 kB / 4.571 GB, free: 63.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/13.31, allocations: 76.03 kB / 4.571 GB, free: 63.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/13.31, allocations: 338.9 kB / 4.572 GB, free: 62.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/13.31, allocations: 121.9 kB / 4.572 GB, free: 62.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/13.31, allocations: 3.969 kB / 4.572 GB, free: 62.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005502/13.31, allocations: 387.6 kB / 4.572 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/13.31, allocations: 7.188 kB / 4.572 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/13.31, allocations: 4.906 kB / 4.572 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/13.31, allocations: 66.44 kB / 4.572 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/13.31, allocations: 66.95 kB / 4.572 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/13.31, allocations: 2.761 MB / 4.575 GB, free: 60.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/13.31, allocations: 73.44 kB / 4.575 GB, free: 60.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/13.31, allocations: 22.94 kB / 4.575 GB, free: 60.16 MB / 0.7136 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.0001182/13.31, allocations: 117.4 kB / 4.575 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/13.31, allocations: 101.3 kB / 4.575 GB, free: 60 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/13.31, allocations: 96.44 kB / 4.575 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/13.31, allocations: 7.312 kB / 4.575 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/13.31, allocations: 6.219 kB / 4.575 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/13.31, allocations: 7.844 kB / 4.575 GB, free: 59.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/13.31, allocations: 2.349 MB / 4.578 GB, free: 58.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/13.31, allocations: 6.188 kB / 4.578 GB, free: 58.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/13.31, allocations: 60.25 kB / 4.578 GB, free: 58.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/13.32, allocations: 64.69 kB / 4.578 GB, free: 58.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/13.32, allocations: 8.656 kB / 4.578 GB, free: 58.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/13.32, allocations: 2.765 MB / 4.58 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/13.32, allocations: 6.25 kB / 4.58 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007267/13.32, allocations: 0.856 MB / 4.581 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001481/13.32, allocations: 1.451 MB / 4.583 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/13.32, allocations: 209.2 kB / 4.583 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/13.32, allocations: 6.438 kB / 4.583 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/13.32, allocations: 66.62 kB / 4.583 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/13.32, allocations: 32.38 kB / 4.583 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/13.32, allocations: 17.41 kB / 4.583 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005774/13.32, allocations: 0.5121 MB / 4.584 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003333/13.32, allocations: 0.9781 MB / 4.585 GB, free: 53.81 MB / 0.7136 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.005043/13.33, allocations: 3.898 MB / 4.588 GB, free: 52.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008837/13.33, allocations: 451.4 kB / 4.589 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/13.33, allocations: 0 / 4.589 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/13.33, allocations: 345.5 kB / 4.589 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/13.33, allocations: 416 kB / 4.589 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/13.34, allocations: 1.29 MB / 4.591 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/13.34, allocations: 1.223 MB / 4.592 GB, free: 50.53 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/13.34, allocations: 3.562 kB / 4.592 GB, free: 50.53 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)