Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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 loadModel(Buildings): time 4.121/4.121, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5914/4.713, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/4.967, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/6.008, allocations: 380 MB / 0.9994 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/6.008, allocations: 93.03 kB / 0.9995 GB, free: 7.621 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.198/7.207, allocations: 227.6 MB / 1.222 GB, free: 205.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/7.207, allocations: 12 kB / 1.222 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/7.207, allocations: 87 kB / 1.222 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/7.209, allocations: 0.5053 MB / 1.222 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/7.21, allocations: 19.91 kB / 1.222 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/7.21, allocations: 28 kB / 1.222 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002216/7.212, allocations: 345.9 kB / 1.223 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/7.213, allocations: 0.4911 MB / 1.223 GB, free: 204.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/7.213, allocations: 8 kB / 1.223 GB, free: 204.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/7.213, allocations: 0 / 1.223 GB, free: 204.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/7.213, allocations: 12 kB / 1.223 GB, free: 204.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/7.218, allocations: 3.085 MB / 1.226 GB, free: 200.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/7.219, allocations: 283.2 kB / 1.227 GB, free: 200.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/7.219, allocations: 169.3 kB / 1.227 GB, free: 200.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/7.22, allocations: 349.6 kB / 1.227 GB, free: 200.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/7.22, allocations: 42.56 kB / 1.227 GB, free: 200 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 2.895e-06/7.22, allocations: 0 / 1.227 GB, free: 200 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.003957/7.224, allocations: 0.6852 MB / 1.228 GB, free: 199.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/7.224, allocations: 59.5 kB / 1.228 GB, free: 199.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/7.224, allocations: 434.2 kB / 1.228 GB, free: 198.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/7.225, allocations: 29.7 kB / 1.228 GB, free: 198.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/7.225, allocations: 252.2 kB / 1.228 GB, free: 198.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/7.225, allocations: 126.1 kB / 1.229 GB, free: 198.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/7.225, allocations: 0 / 1.229 GB, free: 198.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001072/7.225, allocations: 366.8 kB / 1.229 GB, free: 198 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/7.225, allocations: 149.3 kB / 1.229 GB, free: 197.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/7.226, allocations: 323.1 kB / 1.229 GB, free: 197.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/7.229, allocations: 468.2 kB / 1.23 GB, free: 197 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/7.229, allocations: 3.906 kB / 1.23 GB, free: 197 MB / 0.823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003954/7.233, allocations: 0.8228 MB / 1.231 GB, free: 196.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003538/7.233, allocations: 1.74 MB / 1.232 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/7.233, allocations: 4 kB / 1.232 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/7.234, allocations: 112.7 kB / 1.232 GB, free: 194.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/7.235, allocations: 139.8 kB / 1.233 GB, free: 194.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/7.237, allocations: 0.724 MB / 1.233 GB, free: 193.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/7.238, allocations: 95.48 kB / 1.233 GB, free: 193.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/7.238, allocations: 40.09 kB / 1.233 GB, free: 193.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/7.238, allocations: 4 kB / 1.233 GB, free: 193.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/7.242, allocations: 0.6999 MB / 1.234 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/7.242, allocations: 8 kB / 1.234 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/7.242, allocations: 11.94 kB / 1.234 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/7.243, allocations: 156.3 kB / 1.234 GB, free: 192.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/7.243, allocations: 19.98 kB / 1.234 GB, free: 192.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/7.244, allocations: 83.53 kB / 1.234 GB, free: 192.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/7.244, allocations: 35.98 kB / 1.234 GB, free: 192.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002034/7.245, allocations: 116.8 kB / 1.235 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/7.245, allocations: 63.16 kB / 1.235 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/7.249, allocations: 0.7884 MB / 1.235 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/7.249, allocations: 7.938 kB / 1.235 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/7.249, allocations: 3.906 kB / 1.235 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/7.249, allocations: 7.984 kB / 1.235 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/7.254, allocations: 1.403 MB / 1.237 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/7.254, allocations: 0 / 1.237 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/7.255, allocations: 91.92 kB / 1.237 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000613/7.256, allocations: 120.8 kB / 1.237 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/7.256, allocations: 4 kB / 1.237 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/7.257, allocations: 0.7162 MB / 1.238 GB, free: 188.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/7.257, allocations: 3.953 kB / 1.238 GB, free: 188.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003776/7.261, allocations: 0.8916 MB / 1.239 GB, free: 187.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004061/7.265, allocations: 1.286 MB / 1.24 GB, free: 186.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/7.266, allocations: 196.1 kB / 1.24 GB, free: 186.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/7.266, allocations: 0 / 1.24 GB, free: 186.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/7.267, allocations: 63.94 kB / 1.24 GB, free: 186.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/7.267, allocations: 23.86 kB / 1.24 GB, free: 186.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/7.267, allocations: 20 kB / 1.24 GB, free: 186.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005563/7.268, allocations: 322.9 kB / 1.24 GB, free: 185.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003712/7.271, allocations: 463.3 kB / 1.241 GB, free: 185.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/7.273, allocations: 412.2 kB / 1.241 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00238/7.275, allocations: 0.7097 MB / 1.242 GB, free: 184.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/7.275, allocations: 0 / 1.242 GB, free: 184.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008443/7.276, allocations: 237.4 kB / 1.242 GB, free: 184.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/7.278, allocations: 238.5 kB / 1.242 GB, free: 183.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/7.281, allocations: 0.7413 MB / 1.243 GB, free: 183.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/7.281, allocations: 0.9823 MB / 1.244 GB, free: 182.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/7.282, allocations: 4 kB / 1.244 GB, free: 182.1 MB / 0.823 GB