Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.126/2.126, allocations: 248.6 MB / 255.9 MB, free: 340 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003257/0.003257, allocations: 170 kB / 315.1 MB, free: 7.738 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.1 MB / 0.5658 GB, free: 25.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 95.16 kB / 0.67 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3051/0.3065, allocations: 112.4 MB / 0.7797 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.8832, allocations: 106.2 MB / 0.8835 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/2.012, allocations: 394.6 MB / 1.269 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000548/2.012, allocations: 99.83 kB / 1.269 GB, free: 12.75 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 1.144/3.156, allocations: 170.7 MB / 1.436 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/3.156, allocations: 15.66 kB / 1.436 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/3.157, allocations: 58.3 kB / 1.436 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/3.158, allocations: 464.2 kB / 1.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/3.158, allocations: 15.12 kB / 1.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/3.158, allocations: 23.23 kB / 1.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005027/3.159, allocations: 154.7 kB / 1.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/3.159, allocations: 226.6 kB / 1.437 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/3.159, allocations: 0 / 1.437 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/3.159, allocations: 0 / 1.437 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/3.159, allocations: 7.281 kB / 1.437 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/3.162, allocations: 1.248 MB / 1.438 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/3.163, allocations: 163 kB / 1.438 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/3.163, allocations: 76.77 kB / 1.438 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/3.166, allocations: 1.388 MB / 1.439 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/3.166, allocations: 37.3 kB / 1.439 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/3.166, allocations: 0 / 1.439 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.000953/3.167, allocations: 209 kB / 1.44 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/3.167, allocations: 62.66 kB / 1.44 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009249/3.168, allocations: 461.4 kB / 1.44 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-05/3.168, allocations: 29.61 kB / 1.44 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/3.168, allocations: 194.8 kB / 1.44 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/3.168, allocations: 60.67 kB / 1.44 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/3.168, allocations: 0 / 1.44 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000119/3.168, allocations: 365.3 kB / 1.441 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/3.169, allocations: 62.77 kB / 1.441 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/3.169, allocations: 202.6 kB / 1.441 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/3.17, allocations: 118.3 kB / 1.441 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/3.17, allocations: 3.906 kB / 1.441 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001016/3.171, allocations: 291.4 kB / 1.441 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/3.171, allocations: 0.7839 MB / 1.442 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/3.171, allocations: 7.812 kB / 1.442 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/3.171, allocations: 7.312 kB / 1.442 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/3.172, allocations: 69.75 kB / 1.442 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/3.172, allocations: 3.906 kB / 1.442 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/3.172, allocations: 42.12 kB / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/3.172, allocations: 11.81 kB / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/3.172, allocations: 3.906 kB / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008582/3.173, allocations: 227.8 kB / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/3.173, allocations: 0 / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/3.173, allocations: 3.906 kB / 1.442 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/3.174, allocations: 69.7 kB / 1.443 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/3.174, allocations: 3.938 kB / 1.443 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/3.175, allocations: 41.48 kB / 1.443 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/3.175, allocations: 15.19 kB / 1.443 GB, free: 194.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/3.175, allocations: 115.8 kB / 1.443 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/3.175, allocations: 50.44 kB / 1.443 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/3.176, allocations: 282.1 kB / 1.443 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/3.176, allocations: 0 / 1.443 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/3.176, allocations: 7.844 kB / 1.443 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/3.176, allocations: 0 / 1.443 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/3.179, allocations: 0.7174 MB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/3.179, allocations: 7.219 kB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/3.179, allocations: 50 kB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/3.179, allocations: 3.984 kB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/3.179, allocations: 3.906 kB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/3.179, allocations: 3.906 kB / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/3.179, allocations: 0 / 1.444 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/3.181, allocations: 498 kB / 1.444 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001854/3.183, allocations: 0.9599 MB / 1.445 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/3.183, allocations: 159.7 kB / 1.445 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/3.183, allocations: 7.531 kB / 1.445 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/3.184, allocations: 22.23 kB / 1.445 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/3.184, allocations: 14.22 kB / 1.445 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/3.184, allocations: 11.12 kB / 1.445 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009371/3.185, allocations: 366.1 kB / 1.446 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003386/3.188, allocations: 339 kB / 1.446 GB, free: 193 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/3.19, allocations: 0.5246 MB / 1.447 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009709/3.191, allocations: 318.5 kB / 1.447 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/3.191, allocations: 0 / 1.447 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/3.191, allocations: 86.34 kB / 1.447 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/3.194, allocations: 210.3 kB / 1.447 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/3.197, allocations: 0.6531 MB / 1.448 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008103/3.198, allocations: 0.9078 MB / 1.449 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/3.198, allocations: 0 / 1.449 GB, free: 191.8 MB / 0.8698 GB