Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.001333/0.001333, allocations: 183 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4535/0.4535, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009914, allocations: 88.98 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/0.1723, allocations: 78.46 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.5253, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.38/3.906, allocations: 1.88 GB / 2.433 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/3.906, allocations: 91.95 kB / 2.433 GB, free: 182.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.854/5.76, allocations: 0.595 GB / 3.028 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/5.76, allocations: 16 kB / 3.028 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/5.762, allocations: 297.8 kB / 3.028 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/5.766, allocations: 1.38 MB / 3.03 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/5.766, allocations: 24 kB / 3.03 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/5.767, allocations: 56 kB / 3.03 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001513/5.768, allocations: 0.8237 MB / 3.03 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/5.77, allocations: 0.8933 MB / 3.031 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/5.77, allocations: 4 kB / 3.031 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/5.77, allocations: 0 / 3.031 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/5.77, allocations: 20 kB / 3.031 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/5.777, allocations: 4.74 MB / 3.036 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/5.778, allocations: 0.7509 MB / 3.037 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/5.779, allocations: 386 kB / 3.037 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/5.779, allocations: 279.7 kB / 3.037 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/5.779, allocations: 39 kB / 3.037 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 2.485e-06/5.779, allocations: 4 kB / 3.037 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.002995/5.782, allocations: 1.084 MB / 3.038 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/5.782, allocations: 111.2 kB / 3.039 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/5.784, allocations: 1.402 MB / 3.04 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/5.784, allocations: 29.7 kB / 3.04 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/5.785, allocations: 396 kB / 3.04 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/5.785, allocations: 165.4 kB / 3.04 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/5.785, allocations: 0 / 3.04 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/5.785, allocations: 345.9 kB / 3.041 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/5.786, allocations: 0.8335 MB / 3.042 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/5.787, allocations: 1.192 MB / 3.043 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/5.789, allocations: 0.8889 MB / 3.044 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/5.789, allocations: 0 / 3.044 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00409/5.793, allocations: 2.122 MB / 3.046 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004901/5.794, allocations: 1.847 MB / 3.048 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/5.794, allocations: 7.984 kB / 3.048 GB, free: 18.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/5.795, allocations: 128.8 kB / 3.048 GB, free: 18.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.796, allocations: 227.7 kB / 3.048 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009835/5.797, allocations: 1.368 MB / 3.049 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/5.799, allocations: 215 kB / 3.049 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/5.799, allocations: 67.97 kB / 3.049 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/5.799, allocations: 4 kB / 3.049 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003306/5.802, allocations: 1.859 MB / 3.051 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/5.802, allocations: 4 kB / 3.051 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/5.802, allocations: 16.03 kB / 3.051 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/5.804, allocations: 247.7 kB / 3.052 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/5.804, allocations: 12 kB / 3.052 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/5.806, allocations: 191.1 kB / 3.052 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/5.806, allocations: 63.98 kB / 3.052 GB, free: 14.16 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003529/5.806, allocations: 140.7 kB / 3.052 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/5.806, allocations: 118.4 kB / 3.052 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/5.809, allocations: 1.263 MB / 3.053 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/5.809, allocations: 11.84 kB / 3.053 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/5.809, allocations: 0 / 3.053 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/5.809, allocations: 4 kB / 3.053 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/5.814, allocations: 2.44 MB / 3.056 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/5.814, allocations: 4 kB / 3.056 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/5.815, allocations: 136.1 kB / 3.056 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/5.815, allocations: 136.8 kB / 3.056 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/5.816, allocations: 19.98 kB / 3.056 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007757/5.816, allocations: 1.356 MB / 3.057 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/5.816, allocations: 0 / 3.057 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003114/5.819, allocations: 1.872 MB / 3.059 GB, free: 6.43 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004088/5.824, allocations: 2.895 MB / 3.062 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/5.824, allocations: 371.2 kB / 3.062 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/5.825, allocations: 4 kB / 3.062 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/5.826, allocations: 107.9 kB / 3.062 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/5.826, allocations: 44.28 kB / 3.062 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/5.826, allocations: 39.98 kB / 3.062 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001512/5.828, allocations: 1.061 MB / 3.064 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00529/5.833, allocations: 1.26 MB / 3.065 GB, free: 0.5312 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.3205/6.154, allocations: 1.98 MB / 3.067 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004301/6.158, allocations: 2.458 MB / 3.069 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/6.158, allocations: 3.906 kB / 3.069 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/6.159, allocations: 379 kB / 3.069 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/6.161, allocations: 316.1 kB / 3.07 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/6.165, allocations: 1.674 MB / 3.071 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/6.166, allocations: 1.314 MB / 3.073 GB, free: 144 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/6.166, allocations: 1.531 kB / 3.073 GB, free: 144 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)