Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 248.6 MB / 255.9 MB, free: 1.105 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.001639, allocations: 183 kB / 315.1 MB, free: 9.527 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.5658 GB, free: 14.02 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 89.38 kB / 0.67 GB, free: 51.75 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2609/0.2622, allocations: 112.4 MB / 0.7797 GB, free: 10.56 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.511, allocations: 106.2 MB / 0.8835 GB, free: 204 kB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.751/6.262, allocations: 2.212 GB / 3.096 GB, free: 125.6 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004725/6.263, allocations: 97.5 kB / 3.096 GB, free: 125.5 MB / 0.8777 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 2.856/9.119, allocations: 0.5672 GB / 3.663 GB, free: 177.6 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/9.119, allocations: 10.66 kB / 3.663 GB, free: 177.6 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/9.123, allocations: 342.6 kB / 3.663 GB, free: 177.6 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/9.128, allocations: 1.323 MB / 3.665 GB, free: 177.3 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/9.128, allocations: 24.09 kB / 3.665 GB, free: 177.3 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/9.128, allocations: 61.12 kB / 3.665 GB, free: 177.3 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002445/9.13, allocations: 0.8199 MB / 3.665 GB, free: 177.3 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/9.133, allocations: 0.8907 MB / 3.666 GB, free: 177.1 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/9.133, allocations: 6.969 kB / 3.666 GB, free: 177.1 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/9.133, allocations: 0 / 3.666 GB, free: 177.1 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/9.133, allocations: 18.28 kB / 3.666 GB, free: 177.1 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/9.144, allocations: 4.513 MB / 3.671 GB, free: 174.8 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/9.146, allocations: 0.7507 MB / 3.671 GB, free: 174.7 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/9.147, allocations: 391.6 kB / 3.672 GB, free: 174.7 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/9.148, allocations: 283.4 kB / 3.672 GB, free: 174.5 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/9.148, allocations: 39.66 kB / 3.672 GB, free: 174.4 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=50): time 5.751e-06/9.148, allocations: 2.656 kB / 3.672 GB, free: 174.4 MB / 0.8777 GB Notification: Performance of matching and sorting (n=50): time 0.006336/9.154, allocations: 1.084 MB / 3.673 GB, free: 174.3 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/9.155, allocations: 115.9 kB / 3.673 GB, free: 174.2 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/9.159, allocations: 1.395 MB / 3.675 GB, free: 174 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 0.0003148/9.159, allocations: 28.05 kB / 3.675 GB, free: 174 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/9.16, allocations: 407.3 kB / 3.675 GB, free: 173.8 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/9.16, allocations: 157.8 kB / 3.675 GB, free: 173.7 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/9.16, allocations: 0 / 3.675 GB, free: 173.7 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 0.0001227/9.16, allocations: 352 kB / 3.676 GB, free: 173.4 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/9.162, allocations: 0.6538 MB / 3.676 GB, free: 173.4 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/9.164, allocations: 1.007 MB / 3.677 GB, free: 173 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003876/9.168, allocations: 0.9003 MB / 3.678 GB, free: 172.9 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/9.168, allocations: 1.438 kB / 3.678 GB, free: 172.9 MB / 0.8777 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008581/9.177, allocations: 1.993 MB / 3.68 GB, free: 172.8 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004124/9.177, allocations: 1.85 MB / 3.682 GB, free: 170.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/9.177, allocations: 4.656 kB / 3.682 GB, free: 170.9 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/9.178, allocations: 134.5 kB / 3.682 GB, free: 170.9 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/9.18, allocations: 240.7 kB / 3.682 GB, free: 170.9 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/9.182, allocations: 1.362 MB / 3.684 GB, free: 169.8 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/9.186, allocations: 226.3 kB / 3.684 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/9.186, allocations: 68.19 kB / 3.684 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/9.186, allocations: 3.875 kB / 3.684 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005867/9.192, allocations: 1.721 MB / 3.685 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/9.192, allocations: 7.906 kB / 3.685 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/9.192, allocations: 9.312 kB / 3.685 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/9.194, allocations: 257.4 kB / 3.686 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/9.194, allocations: 16.69 kB / 3.686 GB, free: 169.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/9.198, allocations: 199.4 kB / 3.686 GB, free: 169.6 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/9.198, allocations: 65.81 kB / 3.686 GB, free: 169.6 MB / 0.8777 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.0004756/9.199, allocations: 136.6 kB / 3.686 GB, free: 169.5 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/9.199, allocations: 118.8 kB / 3.686 GB, free: 169.5 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/9.206, allocations: 1.262 MB / 3.687 GB, free: 169.4 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/9.206, allocations: 5.438 kB / 3.687 GB, free: 169.4 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/9.206, allocations: 3.25 kB / 3.687 GB, free: 169.4 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/9.206, allocations: 3.844 kB / 3.687 GB, free: 169.4 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/9.215, allocations: 2.468 MB / 3.69 GB, free: 169 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/9.215, allocations: 2.125 kB / 3.69 GB, free: 169 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/9.216, allocations: 134.1 kB / 3.69 GB, free: 169 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/9.218, allocations: 140.8 kB / 3.69 GB, free: 169 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/9.218, allocations: 16.2 kB / 3.69 GB, free: 169 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/9.221, allocations: 1.352 MB / 3.691 GB, free: 167.9 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/9.221, allocations: 6.312 kB / 3.692 GB, free: 167.9 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009825/9.231, allocations: 1.875 MB / 3.693 GB, free: 167.5 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008538/9.239, allocations: 2.888 MB / 3.696 GB, free: 166.7 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/9.241, allocations: 375.5 kB / 3.697 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/9.241, allocations: 4.672 kB / 3.697 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/9.243, allocations: 109.9 kB / 3.697 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/9.244, allocations: 50.39 kB / 3.697 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/9.244, allocations: 42.81 kB / 3.697 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.002671/9.246, allocations: 1.053 MB / 3.698 GB, free: 166.4 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.007347/9.254, allocations: 1.209 MB / 3.699 GB, free: 166.3 MB / 0.8777 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.004499/9.258, allocations: 1.982 MB / 3.701 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.006079/9.265, allocations: 2.176 MB / 3.703 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/9.265, allocations: 4.75 kB / 3.703 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/9.266, allocations: 380.6 kB / 3.703 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/9.27, allocations: 317.2 kB / 3.704 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/9.277, allocations: 1.68 MB / 3.705 GB, free: 165.2 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/9.279, allocations: 1.305 MB / 3.707 GB, free: 164.5 MB / 0.8777 GB Notification: Performance of SimCode: time 1.212e-06/9.279, allocations: 3.25 kB / 3.707 GB, free: 164.5 MB / 0.8777 GB