Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.68/2.68, allocations: 284.8 MB / 292.1 MB, free: 9.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001685, allocations: 182.2 kB / 360.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.1 MB / 0.6187 GB, free: 3.348 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 97.19 kB / 0.7317 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5559/0.5573, allocations: 121.4 MB / 0.8502 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.8044, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.413/6.218, allocations: 2.094 GB / 3.057 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/6.218, allocations: 100.2 kB / 3.057 GB, free: 146.2 MB / 0.9323 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 3.15/9.368, allocations: 0.5853 GB / 3.642 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/9.368, allocations: 7.812 kB / 3.642 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/9.372, allocations: 346.2 kB / 3.643 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/9.377, allocations: 1.319 MB / 3.644 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/9.377, allocations: 20.88 kB / 3.644 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/9.377, allocations: 61.78 kB / 3.644 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002474/9.38, allocations: 0.8143 MB / 3.645 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/9.382, allocations: 0.8957 MB / 3.646 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/9.382, allocations: 3.062 kB / 3.646 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/9.382, allocations: 7.781 kB / 3.646 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/9.382, allocations: 18 kB / 3.646 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/9.393, allocations: 4.513 MB / 3.65 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/9.395, allocations: 0.7695 MB / 3.651 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/9.396, allocations: 388.1 kB / 3.651 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/9.397, allocations: 281.5 kB / 3.652 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/9.397, allocations: 48.41 kB / 3.652 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 3.346e-06/9.397, allocations: 0 / 3.652 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50): time 0.005905/9.403, allocations: 1.082 MB / 3.653 GB, free: 196 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/9.403, allocations: 114.4 kB / 3.653 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/9.407, allocations: 1.394 MB / 3.654 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/9.407, allocations: 29.52 kB / 3.654 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/9.408, allocations: 394.3 kB / 3.655 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/9.408, allocations: 166.8 kB / 3.655 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/9.408, allocations: 0 / 3.655 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001015/9.408, allocations: 347.5 kB / 3.655 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/9.41, allocations: 0.6449 MB / 3.656 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/9.411, allocations: 1.01 MB / 3.657 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/9.415, allocations: 0.9067 MB / 3.658 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/9.415, allocations: 3.844 kB / 3.658 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006774/9.422, allocations: 1.986 MB / 3.66 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004517/9.422, allocations: 1.857 MB / 3.661 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/9.422, allocations: 3.562 kB / 3.661 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/9.423, allocations: 136.2 kB / 3.661 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/9.426, allocations: 235.2 kB / 3.662 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/9.427, allocations: 1.362 MB / 3.663 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/9.431, allocations: 221.1 kB / 3.663 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003986/9.431, allocations: 74.5 kB / 3.663 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/9.431, allocations: 2.188 kB / 3.663 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005536/9.437, allocations: 1.727 MB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/9.437, allocations: 3.594 kB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/9.437, allocations: 11.88 kB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/9.439, allocations: 255.2 kB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/9.439, allocations: 11.52 kB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/9.443, allocations: 195.3 kB / 3.665 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/9.443, allocations: 76.14 kB / 3.666 GB, free: 191.4 MB / 0.9323 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.0004637/9.443, allocations: 148.5 kB / 3.666 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/9.444, allocations: 119.1 kB / 3.666 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/9.449, allocations: 1.256 MB / 3.667 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/9.449, allocations: 10.59 kB / 3.667 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/9.449, allocations: 0 / 3.667 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/9.449, allocations: 3.703 kB / 3.667 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009081/9.458, allocations: 2.453 MB / 3.669 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/9.458, allocations: 6.062 kB / 3.669 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/9.46, allocations: 144.9 kB / 3.67 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/9.461, allocations: 137.4 kB / 3.67 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/9.461, allocations: 9.906 kB / 3.67 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/9.463, allocations: 1.355 MB / 3.671 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/9.463, allocations: 7 kB / 3.671 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006189/9.469, allocations: 1.883 MB / 3.673 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007387/9.476, allocations: 2.887 MB / 3.676 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/9.478, allocations: 368.6 kB / 3.676 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/9.478, allocations: 7.312 kB / 3.676 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/9.481, allocations: 111.7 kB / 3.676 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/9.481, allocations: 50.34 kB / 3.676 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/9.481, allocations: 40.28 kB / 3.676 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002702/9.484, allocations: 1.054 MB / 3.677 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006956/9.491, allocations: 1.202 MB / 3.678 GB, free: 188.1 MB / 0.9323 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.003956/9.495, allocations: 1.981 MB / 3.68 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004923/9.5, allocations: 2.187 MB / 3.683 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/9.5, allocations: 0 / 3.683 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/9.501, allocations: 382.7 kB / 3.683 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/9.505, allocations: 317.9 kB / 3.683 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/9.511, allocations: 1.68 MB / 3.685 GB, free: 187 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/9.512, allocations: 1.304 MB / 3.686 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/9.512, allocations: 3.938 kB / 3.686 GB, free: 186.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)