Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.135/2.135, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 183.2 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 86.53 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4967/0.498, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.789, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.616/2.405, allocations: 423.3 MB / 1.297 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/2.405, allocations: 99.16 kB / 1.297 GB, free: 244.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 5.607/8.012, allocations: 1.071 GB / 2.368 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/8.012, allocations: 7.625 kB / 2.368 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/8.014, allocations: 260.4 kB / 2.369 GB, free: 96.85 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/8.024, allocations: 1.648 MB / 2.37 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/8.024, allocations: 38.75 kB / 2.37 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/8.025, allocations: 87 kB / 2.37 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004479/8.03, allocations: 0.9098 MB / 2.371 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/8.033, allocations: 0.9301 MB / 2.372 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/8.033, allocations: 2.188 kB / 2.372 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/8.033, allocations: 0 / 2.372 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/8.033, allocations: 28.53 kB / 2.372 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/8.048, allocations: 5.963 MB / 2.378 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/8.05, allocations: 0.5621 MB / 2.378 GB, free: 93.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009874/8.051, allocations: 359.8 kB / 2.379 GB, free: 93.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/8.051, allocations: 0.5078 MB / 2.379 GB, free: 93.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/8.051, allocations: 44.22 kB / 2.379 GB, free: 93.01 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/8.051, allocations: 0 / 2.379 GB, free: 93.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.003438/8.055, allocations: 0.8436 MB / 2.38 GB, free: 92.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/8.055, allocations: 66.38 kB / 2.38 GB, free: 92.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/8.058, allocations: 1.285 MB / 2.381 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004183/8.059, allocations: 25.7 kB / 2.381 GB, free: 92.56 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/8.06, allocations: 0.5972 MB / 2.382 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/8.06, allocations: 191.1 kB / 2.382 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/8.06, allocations: 0 / 2.382 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001193/8.06, allocations: 352.8 kB / 2.383 GB, free: 91.81 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/8.062, allocations: 397.3 kB / 2.383 GB, free: 91.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/8.063, allocations: 0.7102 MB / 2.384 GB, free: 91.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/8.065, allocations: 0.4957 MB / 2.384 GB, free: 91.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/8.065, allocations: 0 / 2.384 GB, free: 91.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004495/8.07, allocations: 1.264 MB / 2.385 GB, free: 91.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/8.07, allocations: 0.9176 MB / 2.386 GB, free: 90.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/8.07, allocations: 0 / 2.386 GB, free: 90.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/8.07, allocations: 12.62 kB / 2.386 GB, free: 90.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/8.073, allocations: 283.3 kB / 2.387 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/8.073, allocations: 17.58 kB / 2.387 GB, free: 90.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/8.077, allocations: 177 kB / 2.387 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/8.077, allocations: 66.98 kB / 2.387 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/8.077, allocations: 5.344 kB / 2.387 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003177/8.08, allocations: 1.003 MB / 2.388 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/8.08, allocations: 3.5 kB / 2.388 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/8.08, allocations: 6.906 kB / 2.388 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/8.083, allocations: 277.6 kB / 2.388 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/8.083, allocations: 10.58 kB / 2.388 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/8.086, allocations: 167.2 kB / 2.388 GB, free: 90.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/8.087, allocations: 61.14 kB / 2.388 GB, free: 90.22 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0004277/8.087, allocations: 138.4 kB / 2.388 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/8.088, allocations: 171.5 kB / 2.389 GB, free: 90.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/8.092, allocations: 1.039 MB / 2.39 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/8.092, allocations: 10.06 kB / 2.39 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/8.092, allocations: 0 / 2.39 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/8.092, allocations: 3.656 kB / 2.39 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/8.098, allocations: 2.198 MB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/8.099, allocations: 0 / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/8.1, allocations: 139.4 kB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.783e-05/8.101, allocations: 5.375 kB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/8.101, allocations: 12.61 kB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/8.101, allocations: 9.719 kB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/8.101, allocations: 1.594 kB / 2.392 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004586/8.105, allocations: 1.091 MB / 2.393 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004802/8.11, allocations: 1.572 MB / 2.395 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/8.112, allocations: 351.3 kB / 2.395 GB, free: 88.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/8.113, allocations: 2.688 kB / 2.395 GB, free: 88.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003948/8.117, allocations: 101.3 kB / 2.395 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/8.118, allocations: 49.72 kB / 2.395 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/8.118, allocations: 25.27 kB / 2.395 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003596/8.121, allocations: 0.9359 MB / 2.396 GB, free: 87.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0116/8.133, allocations: 1.254 MB / 2.397 GB, free: 87.78 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002165/8.135, allocations: 0.9846 MB / 2.398 GB, free: 87.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004477/8.14, allocations: 1.574 MB / 2.4 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/8.14, allocations: 0 / 2.4 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/8.141, allocations: 382.9 kB / 2.4 GB, free: 87.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/8.154, allocations: 0.9043 MB / 2.401 GB, free: 87.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/8.165, allocations: 2.238 MB / 2.403 GB, free: 86.78 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/8.168, allocations: 1.612 MB / 2.405 GB, free: 86.03 MB / 0.8855 GB Notification: Performance of SimCode: time 3.406e-06/8.168, allocations: 3.719 kB / 2.405 GB, free: 86.03 MB / 0.8855 GB