Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.458/2.458, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001763/0.001762, allocations: 177.3 kB / 360.3 MB, free: 7.551 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.855/1.855, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.0013/0.001299, allocations: 95.09 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.289/0.2904, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.9579, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/1.181, allocations: 137.9 MB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.181, allocations: 80.66 kB / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01588/1.197, allocations: 3.24 MB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.197, allocations: 8.5 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/1.199, allocations: 112.4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/1.199, allocations: 175 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.199, allocations: 11.91 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.199, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002741/1.199, allocations: 59.98 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/1.2, allocations: 98.88 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.2, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/1.2, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.2, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.201, allocations: 428 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/1.202, allocations: 66.56 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.202, allocations: 28.97 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/1.202, allocations: 8.094 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.202, allocations: 42.47 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/1.202, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003747/1.202, allocations: 85.56 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.202, allocations: 51.41 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.202, allocations: 113 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/1.202, allocations: 25.7 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.203, allocations: 99.89 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/1.203, allocations: 23.73 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/1.203, allocations: 0.5625 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.203, allocations: 322.8 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.203, allocations: 27.98 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.203, allocations: 31.66 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/1.203, allocations: 23.98 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.203, allocations: 0 / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003043/1.203, allocations: 99.38 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/1.204, allocations: 96.91 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.204, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.204, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.204, allocations: 51.94 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.204, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/1.205, allocations: 31.97 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/1.205, allocations: 3.984 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.205, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001312/1.205, allocations: 28 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/1.205, allocations: 3.938 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/1.205, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/1.205, allocations: 25.02 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/1.205, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/1.205, allocations: 15.98 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.205, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.205, allocations: 105.6 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/1.206, allocations: 7.906 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/1.206, allocations: 12.06 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.206, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.206, allocations: 5.5 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.206, allocations: 3.984 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/1.206, allocations: 372.6 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.206, allocations: 1.875 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/1.207, allocations: 44.02 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.207, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.207, allocations: 11.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.207, allocations: 7.938 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.207, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003403/1.207, allocations: 220.4 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004686/1.208, allocations: 0.5931 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.208, allocations: 93 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/1.208, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/1.209, allocations: 39.95 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/1.209, allocations: 11.91 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/1.209, allocations: 3.984 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.618e-05/1.209, allocations: 98.23 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002051/1.211, allocations: 36.5 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/1.211, allocations: 103.2 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003583/1.211, allocations: 83.91 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.211, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.212, allocations: 31.98 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.212, allocations: 10 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/1.213, allocations: 185.9 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/1.214, allocations: 0.7192 MB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/1.214, allocations: 4 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)