Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.148/2.148, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.001216/0.001216, allocations: 176.1 kB / 490.8 MB, free: 1.938 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.475/1.475, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.000969/0.0009688, allocations: 87.3 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8258/0.8268, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/1.135, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.915/7.051, allocations: 1.927 GB / 3.139 GB, free: 343.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/7.051, allocations: 93.88 kB / 3.139 GB, free: 343.8 MB / 1.151 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.008/9.059, allocations: 0.595 GB / 3.734 GB, free: 197.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/9.059, allocations: 15.94 kB / 3.734 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/9.061, allocations: 306.4 kB / 3.734 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/9.064, allocations: 1.376 MB / 3.736 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/9.064, allocations: 24 kB / 3.736 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/9.064, allocations: 59.91 kB / 3.736 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/9.065, allocations: 0.816 MB / 3.736 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/9.067, allocations: 0.9003 MB / 3.737 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/9.067, allocations: 7.938 kB / 3.737 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/9.067, allocations: 0 / 3.737 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/9.067, allocations: 20 kB / 3.737 GB, free: 193.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/9.073, allocations: 4.738 MB / 3.742 GB, free: 188.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/9.074, allocations: 0.7557 MB / 3.743 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/9.075, allocations: 386 kB / 3.743 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/9.075, allocations: 279.3 kB / 3.743 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/9.075, allocations: 39 kB / 3.743 GB, free: 187.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 4.688e-06/9.075, allocations: 0 / 3.743 GB, free: 187.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.003181/9.079, allocations: 1.095 MB / 3.744 GB, free: 186.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/9.079, allocations: 107.2 kB / 3.745 GB, free: 186.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/9.081, allocations: 1.406 MB / 3.746 GB, free: 184.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/9.081, allocations: 29.7 kB / 3.746 GB, free: 184.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/9.081, allocations: 396 kB / 3.746 GB, free: 184.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/9.081, allocations: 165.5 kB / 3.747 GB, free: 184.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/9.081, allocations: 0 / 3.747 GB, free: 184.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001013/9.082, allocations: 346.3 kB / 3.747 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/9.083, allocations: 0.8296 MB / 3.748 GB, free: 182.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/9.084, allocations: 1.191 MB / 3.749 GB, free: 181.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/9.086, allocations: 0.8926 MB / 3.75 GB, free: 180.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/9.086, allocations: 4 kB / 3.75 GB, free: 180.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004567/9.091, allocations: 2.118 MB / 3.752 GB, free: 178.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004172/9.091, allocations: 1.854 MB / 3.754 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/9.091, allocations: 4 kB / 3.754 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/9.092, allocations: 132.8 kB / 3.754 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/9.093, allocations: 235.5 kB / 3.754 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/9.095, allocations: 1.357 MB / 3.755 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/9.097, allocations: 223 kB / 3.755 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/9.097, allocations: 63.98 kB / 3.756 GB, free: 174.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/9.097, allocations: 4 kB / 3.756 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/9.101, allocations: 1.855 MB / 3.757 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/9.101, allocations: 4 kB / 3.757 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/9.101, allocations: 12 kB / 3.757 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/9.102, allocations: 248.2 kB / 3.758 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/9.102, allocations: 19.92 kB / 3.758 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/9.104, allocations: 187.1 kB / 3.758 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/9.105, allocations: 63.98 kB / 3.758 GB, free: 172.1 MB / 1.151 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.0004169/9.105, allocations: 149.6 kB / 3.758 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/9.105, allocations: 122.4 kB / 3.758 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/9.108, allocations: 1.254 MB / 3.759 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/9.108, allocations: 4 kB / 3.759 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/9.108, allocations: 0 / 3.759 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/9.109, allocations: 7.984 kB / 3.759 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/9.113, allocations: 2.442 MB / 3.762 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/9.113, allocations: 0 / 3.762 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/9.114, allocations: 140 kB / 3.762 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005831/9.115, allocations: 136.8 kB / 3.762 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/9.115, allocations: 15.98 kB / 3.762 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007926/9.116, allocations: 1.357 MB / 3.763 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/9.116, allocations: 0 / 3.763 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003386/9.119, allocations: 1.873 MB / 3.765 GB, free: 164.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004457/9.123, allocations: 2.893 MB / 3.768 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/9.125, allocations: 367.2 kB / 3.768 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/9.125, allocations: 7.984 kB / 3.768 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/9.126, allocations: 107.8 kB / 3.768 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/9.127, allocations: 40.33 kB / 3.769 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/9.127, allocations: 47.97 kB / 3.769 GB, free: 160.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001617/9.128, allocations: 1.057 MB / 3.77 GB, free: 159.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007158/9.135, allocations: 1.273 MB / 3.771 GB, free: 158.5 MB / 1.151 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.003202/9.139, allocations: 1.964 MB / 3.773 GB, free: 156.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004114/9.143, allocations: 2.461 MB / 3.775 GB, free: 154.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/9.143, allocations: 0 / 3.775 GB, free: 154.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/9.143, allocations: 383.6 kB / 3.776 GB, free: 153.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/9.146, allocations: 318 kB / 3.776 GB, free: 153.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/9.15, allocations: 1.675 MB / 3.777 GB, free: 151.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/9.151, allocations: 1.32 MB / 3.779 GB, free: 150.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/9.151, allocations: 0 / 3.779 GB, free: 150.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)