Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.554/1.554, allocations: 289.8 MB / 297 MB, free: 6.625 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.001184/0.001184, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.474/1.474, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0009362/0.0009362, allocations: 95.58 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2807/0.2817, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/1.017, allocations: 116.3 MB / 0.9726 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.464/5.482, allocations: 2.116 GB / 3.089 GB, free: 338.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.482, allocations: 89.41 kB / 3.089 GB, free: 338.4 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 2.632/8.114, allocations: 0.8062 GB / 3.895 GB, free: 167.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/8.114, allocations: 10.91 kB / 3.895 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/8.117, allocations: 458.6 kB / 3.895 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/8.123, allocations: 1.884 MB / 3.897 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/8.123, allocations: 36.88 kB / 3.897 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/8.123, allocations: 73.38 kB / 3.897 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002106/8.126, allocations: 0.8696 MB / 3.898 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/8.128, allocations: 1.038 MB / 3.899 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/8.128, allocations: 0 / 3.899 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/8.128, allocations: 0 / 3.899 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/8.128, allocations: 38.55 kB / 3.899 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007261/8.135, allocations: 5.002 MB / 3.904 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/8.136, allocations: 0.7663 MB / 3.905 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/8.137, allocations: 437.9 kB / 3.905 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/8.137, allocations: 187.4 kB / 3.906 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/8.138, allocations: 441.8 kB / 3.906 GB, free: 164.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 2.845e-06/8.138, allocations: 2.844 kB / 3.906 GB, free: 164.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002432/8.14, allocations: 0.9177 MB / 3.907 GB, free: 164.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/8.14, allocations: 188.1 kB / 3.907 GB, free: 164.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/8.141, allocations: 0.9003 MB / 3.908 GB, free: 164.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/8.142, allocations: 28.33 kB / 3.908 GB, free: 164.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/8.142, allocations: 447.9 kB / 3.908 GB, free: 163.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/8.142, allocations: 233.5 kB / 3.909 GB, free: 163.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/8.142, allocations: 0 / 3.909 GB, free: 163.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/8.142, allocations: 343.8 kB / 3.909 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/8.143, allocations: 326.2 kB / 3.909 GB, free: 163.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/8.143, allocations: 0.5926 MB / 3.91 GB, free: 163.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/8.144, allocations: 440.5 kB / 3.91 GB, free: 163.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/8.144, allocations: 3.938 kB / 3.91 GB, free: 163.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001762/8.146, allocations: 1.064 MB / 3.911 GB, free: 163 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004432/8.146, allocations: 2.04 MB / 3.913 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/8.146, allocations: 6.906 kB / 3.913 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/8.147, allocations: 96.66 kB / 3.913 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009724/8.148, allocations: 211.9 kB / 3.914 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007771/8.148, allocations: 1.287 MB / 3.915 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/8.15, allocations: 125.5 kB / 3.915 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/8.15, allocations: 54.31 kB / 3.915 GB, free: 159.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/8.15, allocations: 7.812 kB / 3.915 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/8.152, allocations: 0.8704 MB / 3.916 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/8.152, allocations: 13.55 kB / 3.916 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/8.152, allocations: 107.3 kB / 3.916 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/8.153, allocations: 192.7 kB / 3.916 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/8.157, allocations: 2.623 MB / 3.919 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/8.158, allocations: 114 kB / 3.919 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/8.158, allocations: 48.81 kB / 3.919 GB, free: 158.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002628/8.159, allocations: 132.4 kB / 3.919 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/8.159, allocations: 130.3 kB / 3.919 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/8.161, allocations: 0.8907 MB / 3.92 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/8.161, allocations: 7.781 kB / 3.92 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/8.161, allocations: 7.344 kB / 3.92 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/8.162, allocations: 0.7836 MB / 3.921 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/8.165, allocations: 2.032 MB / 3.923 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/8.165, allocations: 3.688 kB / 3.923 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/8.166, allocations: 168.3 kB / 3.923 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/8.167, allocations: 58.84 kB / 3.923 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/8.167, allocations: 20.58 kB / 3.923 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005329/8.167, allocations: 1.21 MB / 3.924 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/8.167, allocations: 3.844 kB / 3.924 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001916/8.169, allocations: 1.401 MB / 3.926 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002987/8.172, allocations: 2.335 MB / 3.928 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/8.173, allocations: 286.3 kB / 3.928 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/8.173, allocations: 10.72 kB / 3.928 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/8.174, allocations: 74.83 kB / 3.928 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/8.174, allocations: 53.14 kB / 3.928 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/8.174, allocations: 25.97 kB / 3.928 GB, free: 154.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00104/8.175, allocations: 0.6892 MB / 3.929 GB, free: 154.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00613/8.181, allocations: 1.654 MB / 3.931 GB, free: 154.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004618/8.186, allocations: 2.92 MB / 3.933 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00381/8.19, allocations: 1.53 MB / 3.935 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/8.19, allocations: 1.469 kB / 3.935 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008991/8.191, allocations: 385.9 kB / 3.935 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/8.194, allocations: 0.5499 MB / 3.936 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/8.199, allocations: 2.06 MB / 3.938 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/8.2, allocations: 1.443 MB / 3.939 GB, free: 152.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/8.2, allocations: 0 / 3.939 GB, free: 152.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)