Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.3 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 94.67 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7655/0.7667, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/1.121, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/2.283, allocations: 396.8 MB / 1.599 GB, free: 1.848 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/2.283, allocations: 96.12 kB / 1.599 GB, free: 1.797 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 1.643/3.926, allocations: 418.1 MB / 2.008 GB, free: 195.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/3.926, allocations: 8 kB / 2.008 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/3.927, allocations: 94.88 kB / 2.008 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/3.928, allocations: 0.5898 MB / 2.008 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/3.928, allocations: 12 kB / 2.008 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/3.928, allocations: 39.91 kB / 2.008 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005156/3.929, allocations: 242 kB / 2.008 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/3.929, allocations: 312.5 kB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/3.929, allocations: 0 / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/3.929, allocations: 0 / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/3.929, allocations: 12 kB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/3.932, allocations: 1.768 MB / 2.011 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/3.932, allocations: 154.4 kB / 2.011 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/3.932, allocations: 72.84 kB / 2.011 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/3.933, allocations: 340.4 kB / 2.011 GB, free: 191.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/3.933, allocations: 30.56 kB / 2.011 GB, free: 191.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.736e-06/3.933, allocations: 0 / 2.011 GB, free: 191.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0006323/3.933, allocations: 214.7 kB / 2.011 GB, free: 191.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/3.933, allocations: 59.41 kB / 2.011 GB, free: 191 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/3.934, allocations: 487.7 kB / 2.012 GB, free: 190.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/3.934, allocations: 25.7 kB / 2.012 GB, free: 190.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/3.934, allocations: 284.3 kB / 2.012 GB, free: 190.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/3.934, allocations: 63.09 kB / 2.012 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/3.934, allocations: 0 / 2.012 GB, free: 190.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/3.934, allocations: 362.8 kB / 2.013 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/3.934, allocations: 84.73 kB / 2.013 GB, free: 189.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/3.935, allocations: 201.1 kB / 2.013 GB, free: 189.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/3.935, allocations: 118.1 kB / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/3.935, allocations: 3.906 kB / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006218/3.936, allocations: 330.8 kB / 2.013 GB, free: 189 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/3.936, allocations: 277.8 kB / 2.013 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/3.936, allocations: 0 / 2.013 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/3.936, allocations: 7.938 kB / 2.014 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/3.937, allocations: 143.8 kB / 2.014 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/3.938, allocations: 2.391 MB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/3.939, allocations: 79.83 kB / 2.016 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/3.939, allocations: 16 kB / 2.016 GB, free: 186 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/3.939, allocations: 4 kB / 2.016 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004544/3.939, allocations: 236.1 kB / 2.016 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/3.939, allocations: 4 kB / 2.016 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/3.939, allocations: 3.906 kB / 2.016 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/3.94, allocations: 103.9 kB / 2.016 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/3.94, allocations: 8 kB / 2.016 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/3.94, allocations: 59.78 kB / 2.016 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/3.94, allocations: 23.97 kB / 2.016 GB, free: 185.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/3.941, allocations: 113.5 kB / 2.017 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/3.941, allocations: 67.12 kB / 2.017 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/3.941, allocations: 268.6 kB / 2.017 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/3.941, allocations: 4 kB / 2.017 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/3.941, allocations: 4 kB / 2.017 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/3.941, allocations: 3.984 kB / 2.017 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/3.943, allocations: 0.7863 MB / 2.018 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/3.943, allocations: 4 kB / 2.018 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/3.943, allocations: 76 kB / 2.018 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/3.943, allocations: 4 kB / 2.018 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/3.943, allocations: 7.906 kB / 2.018 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/3.944, allocations: 2.367 MB / 2.02 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/3.944, allocations: 4.031 kB / 2.02 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004809/3.944, allocations: 407.8 kB / 2.02 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006166/3.945, allocations: 0.8032 MB / 2.021 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/3.945, allocations: 164.2 kB / 2.021 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/3.945, allocations: 3.984 kB / 2.021 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/3.946, allocations: 51.86 kB / 2.021 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/3.946, allocations: 23.97 kB / 2.022 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/3.946, allocations: 4 kB / 2.022 GB, free: 180.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004114/3.946, allocations: 371.2 kB / 2.022 GB, free: 179.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002911/3.949, allocations: 495 kB / 2.022 GB, free: 179.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/3.95, allocations: 491.7 kB / 2.023 GB, free: 178.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001704/3.952, allocations: 440.9 kB / 2.023 GB, free: 178.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/3.952, allocations: 0 / 2.023 GB, free: 178.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/3.952, allocations: 119.9 kB / 2.023 GB, free: 178.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/3.954, allocations: 283.1 kB / 2.024 GB, free: 178 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/3.956, allocations: 0.7511 MB / 2.024 GB, free: 177.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/3.956, allocations: 1.006 MB / 2.025 GB, free: 176.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.363e-06/3.956, allocations: 3.938 kB / 2.025 GB, free: 176.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)