Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Examples.MixingBox,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.243/2.243, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.00129/0.001289, allocations: 183.7 kB / 490.8 MB, free: 1.977 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.557/1.557, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0009491/0.0009492, allocations: 96.05 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7183/0.7193, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.9941, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/6.246, allocations: 1.916 GB / 3.127 GB, free: 396.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/6.246, allocations: 87.95 kB / 3.127 GB, free: 396.2 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 2.07/8.316, allocations: 0.6124 GB / 3.74 GB, free: 207.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/8.316, allocations: 12 kB / 3.74 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/8.32, allocations: 390.3 kB / 3.74 GB, free: 207 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/8.323, allocations: 1.066 MB / 3.741 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/8.323, allocations: 16 kB / 3.741 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/8.323, allocations: 36 kB / 3.741 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/8.324, allocations: 0.5252 MB / 3.742 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/8.325, allocations: 0.5042 MB / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/8.325, allocations: 0 / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/8.325, allocations: 3.906 kB / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/8.325, allocations: 17 kB / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005508/8.331, allocations: 2.651 MB / 3.745 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/8.332, allocations: 0.5012 MB / 3.745 GB, free: 201.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/8.332, allocations: 312.8 kB / 3.746 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000405/8.332, allocations: 291 kB / 3.746 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/8.333, allocations: 38.56 kB / 3.746 GB, free: 200.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.875e-06/8.333, allocations: 0 / 3.746 GB, free: 200.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001876/8.334, allocations: 0.696 MB / 3.747 GB, free: 200.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/8.334, allocations: 59.41 kB / 3.747 GB, free: 200.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/8.336, allocations: 0.9648 MB / 3.748 GB, free: 199.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/8.336, allocations: 29.7 kB / 3.748 GB, free: 199 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/8.336, allocations: 269.6 kB / 3.748 GB, free: 198.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/8.337, allocations: 137.9 kB / 3.748 GB, free: 198.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/8.337, allocations: 0 / 3.748 GB, free: 198.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/8.337, allocations: 322 kB / 3.748 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/8.337, allocations: 236.6 kB / 3.749 GB, free: 198.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/8.337, allocations: 458.3 kB / 3.749 GB, free: 197.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/8.338, allocations: 288.3 kB / 3.749 GB, free: 197.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/8.338, allocations: 4 kB / 3.749 GB, free: 197.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001226/8.339, allocations: 0.664 MB / 3.75 GB, free: 196.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/8.339, allocations: 102.8 kB / 3.75 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/8.339, allocations: 0 / 3.75 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/8.339, allocations: 7.938 kB / 3.75 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/8.34, allocations: 135.8 kB / 3.75 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/8.34, allocations: 0 / 3.75 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/8.342, allocations: 127.6 kB / 3.75 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/8.342, allocations: 35.97 kB / 3.75 GB, free: 196.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/8.342, allocations: 4 kB / 3.75 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008791/8.343, allocations: 0.5305 MB / 3.751 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/8.343, allocations: 0 / 3.751 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/8.343, allocations: 0 / 3.751 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/8.344, allocations: 139.8 kB / 3.751 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/8.344, allocations: 0 / 3.751 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/8.345, allocations: 127.6 kB / 3.751 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/8.345, allocations: 31.97 kB / 3.751 GB, free: 195.4 MB / 1.151 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 (46): * Single equations (assignments): 46 * 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.0001918/8.345, allocations: 120.8 kB / 3.751 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/8.346, allocations: 94.86 kB / 3.751 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/8.347, allocations: 0.7465 MB / 3.752 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/8.347, allocations: 4 kB / 3.752 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.347, allocations: 0 / 3.752 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/8.347, allocations: 3.984 kB / 3.752 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/8.35, allocations: 1.823 MB / 3.754 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/8.35, allocations: 0 / 3.754 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/8.351, allocations: 128.1 kB / 3.754 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/8.351, allocations: 7.938 kB / 3.754 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/8.351, allocations: 19.98 kB / 3.754 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/8.351, allocations: 7.906 kB / 3.754 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/8.351, allocations: 3.938 kB / 3.754 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00153/8.353, allocations: 1.222 MB / 3.755 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002261/8.355, allocations: 2.058 MB / 3.757 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/8.355, allocations: 299.7 kB / 3.758 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/8.356, allocations: 4 kB / 3.758 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/8.357, allocations: 83.89 kB / 3.758 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/8.357, allocations: 43.8 kB / 3.758 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/8.357, allocations: 27.98 kB / 3.758 GB, free: 188.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00112/8.358, allocations: 0.7429 MB / 3.758 GB, free: 187.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004286/8.363, allocations: 0.9014 MB / 3.759 GB, free: 186.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002882/8.366, allocations: 1.829 MB / 3.761 GB, free: 185 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001511/8.367, allocations: 0.8533 MB / 3.762 GB, free: 184.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/8.367, allocations: 4 kB / 3.762 GB, free: 184.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/8.368, allocations: 295.6 kB / 3.762 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/8.37, allocations: 376.5 kB / 3.763 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/8.373, allocations: 1.306 MB / 3.764 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/8.375, allocations: 1.188 MB / 3.765 GB, free: 181 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/8.375, allocations: 0 / 3.765 GB, free: 181 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)