Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.00125/0.001249, allocations: 185.3 kB / 366.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.1 MB / 0.6256 GB, free: 5.879 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 88.23 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3138/0.3149, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/1.003, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/6.237, allocations: 2.095 GB / 3.068 GB, free: 349.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003976/6.237, allocations: 98.19 kB / 3.068 GB, free: 349.1 MB / 0.948 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 1.891/8.128, allocations: 0.5853 GB / 3.653 GB, free: 125.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/8.128, allocations: 8 kB / 3.653 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/8.131, allocations: 349.7 kB / 3.654 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/8.134, allocations: 1.315 MB / 3.655 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/8.134, allocations: 24 kB / 3.655 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/8.135, allocations: 56 kB / 3.655 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/8.137, allocations: 0.8198 MB / 3.656 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/8.138, allocations: 0.9012 MB / 3.657 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/8.138, allocations: 11.84 kB / 3.657 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.787e-05/8.138, allocations: 0 / 3.657 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/8.138, allocations: 20 kB / 3.657 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007454/8.146, allocations: 4.509 MB / 3.661 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/8.147, allocations: 0.764 MB / 3.662 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/8.147, allocations: 386 kB / 3.662 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/8.148, allocations: 279.6 kB / 3.663 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/8.148, allocations: 35.66 kB / 3.663 GB, free: 116.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 4.649e-06/8.148, allocations: 8 kB / 3.663 GB, free: 116.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=50): time 0.003597/8.152, allocations: 1.088 MB / 3.664 GB, free: 115 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/8.152, allocations: 111.2 kB / 3.664 GB, free: 114.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/8.155, allocations: 1.394 MB / 3.665 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/8.155, allocations: 25.7 kB / 3.665 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/8.155, allocations: 413.7 kB / 3.666 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/8.156, allocations: 165.4 kB / 3.666 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/8.156, allocations: 0 / 3.666 GB, free: 112.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000115/8.156, allocations: 341.9 kB / 3.666 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/8.157, allocations: 0.654 MB / 3.667 GB, free: 111.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/8.158, allocations: 1.008 MB / 3.668 GB, free: 110.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/8.16, allocations: 0.9014 MB / 3.669 GB, free: 109.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-05/8.16, allocations: 0 / 3.669 GB, free: 109.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004368/8.164, allocations: 1.992 MB / 3.671 GB, free: 107.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005277/8.165, allocations: 1.863 MB / 3.672 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/8.165, allocations: 7.906 kB / 3.672 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/8.165, allocations: 136.7 kB / 3.672 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/8.166, allocations: 238.9 kB / 3.673 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/8.168, allocations: 1.357 MB / 3.674 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/8.17, allocations: 227.1 kB / 3.674 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/8.171, allocations: 63.98 kB / 3.674 GB, free: 103.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/8.171, allocations: 4 kB / 3.674 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003046/8.174, allocations: 1.726 MB / 3.676 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/8.174, allocations: 4 kB / 3.676 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/8.174, allocations: 12.03 kB / 3.676 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/8.175, allocations: 256.1 kB / 3.676 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/8.175, allocations: 19.84 kB / 3.676 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/8.177, allocations: 199.1 kB / 3.676 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/8.177, allocations: 67.97 kB / 3.677 GB, free: 101.4 MB / 0.948 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.0004137/8.178, allocations: 140.6 kB / 3.677 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006649/8.178, allocations: 126.4 kB / 3.677 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/8.182, allocations: 1.251 MB / 3.678 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/8.182, allocations: 7.938 kB / 3.678 GB, free: 99.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/8.182, allocations: 0 / 3.678 GB, free: 99.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/8.182, allocations: 3.984 kB / 3.678 GB, free: 99.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/8.188, allocations: 2.454 MB / 3.68 GB, free: 97.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/8.188, allocations: 4 kB / 3.68 GB, free: 97.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/8.189, allocations: 136.1 kB / 3.681 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006762/8.19, allocations: 144.6 kB / 3.681 GB, free: 97.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/8.19, allocations: 16 kB / 3.681 GB, free: 97.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/8.191, allocations: 1.341 MB / 3.682 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/8.191, allocations: 11.92 kB / 3.682 GB, free: 95.67 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003595/8.195, allocations: 1.867 MB / 3.684 GB, free: 93.71 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004665/8.199, allocations: 2.89 MB / 3.687 GB, free: 90.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/8.201, allocations: 383.1 kB / 3.687 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006478/8.201, allocations: 7.906 kB / 3.687 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/8.203, allocations: 111.9 kB / 3.687 GB, free: 90.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/8.203, allocations: 36.38 kB / 3.687 GB, free: 90.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/8.203, allocations: 39.98 kB / 3.687 GB, free: 90.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00183/8.205, allocations: 1.064 MB / 3.688 GB, free: 89.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005888/8.211, allocations: 1.206 MB / 3.689 GB, free: 87.86 MB / 0.948 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.003469/8.214, allocations: 1.98 MB / 3.691 GB, free: 86.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003276/8.218, allocations: 2.187 MB / 3.694 GB, free: 83.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/8.218, allocations: 0 / 3.694 GB, free: 83.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/8.218, allocations: 377.4 kB / 3.694 GB, free: 83.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/8.221, allocations: 314 kB / 3.694 GB, free: 83.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/8.225, allocations: 1.671 MB / 3.696 GB, free: 81.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/8.226, allocations: 1.308 MB / 3.697 GB, free: 80.09 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/8.226, allocations: 0 / 3.697 GB, free: 80.09 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)