Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",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.094/2.094, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001163/0.001163, allocations: 179 kB / 490.8 MB, free: 1.957 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.517/1.517, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0009983/0.0009983, allocations: 95 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6297/0.6307, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.9271, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.076/5.003, allocations: 1.929 GB / 3.141 GB, free: 408.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/5.003, allocations: 87.94 kB / 3.141 GB, free: 408.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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 1.442/6.445, allocations: 490.2 MB / 3.62 GB, free: 293.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/6.446, allocations: 11.03 kB / 3.62 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/6.447, allocations: 215.7 kB / 3.62 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/6.45, allocations: 0.9185 MB / 3.621 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/6.45, allocations: 15.31 kB / 3.621 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/6.45, allocations: 43.27 kB / 3.621 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007991/6.451, allocations: 444.6 kB / 3.621 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/6.451, allocations: 0.5274 MB / 3.622 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/6.451, allocations: 0 / 3.622 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/6.452, allocations: 0 / 3.622 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/6.452, allocations: 23.25 kB / 3.622 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/6.455, allocations: 2.447 MB / 3.624 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/6.455, allocations: 326.1 kB / 3.624 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/6.455, allocations: 197.5 kB / 3.625 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/6.456, allocations: 313.5 kB / 3.625 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/6.456, allocations: 44.59 kB / 3.625 GB, free: 291.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/6.456, allocations: 0 / 3.625 GB, free: 291.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001133/6.457, allocations: 445.7 kB / 3.625 GB, free: 291.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/6.457, allocations: 58.62 kB / 3.625 GB, free: 291.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/6.457, allocations: 362 kB / 3.626 GB, free: 291 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/6.457, allocations: 29.61 kB / 3.626 GB, free: 291 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/6.458, allocations: 251.8 kB / 3.626 GB, free: 290.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/6.458, allocations: 123.5 kB / 3.626 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/6.458, allocations: 0 / 3.626 GB, free: 290.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/6.458, allocations: 364.8 kB / 3.626 GB, free: 290.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/6.458, allocations: 143.3 kB / 3.627 GB, free: 290.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/6.458, allocations: 261.4 kB / 3.627 GB, free: 290.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/6.459, allocations: 211.9 kB / 3.627 GB, free: 290.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/6.459, allocations: 3.281 kB / 3.627 GB, free: 290.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007277/6.459, allocations: 481.4 kB / 3.627 GB, free: 290.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/6.46, allocations: 0.8675 MB / 3.628 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/6.46, allocations: 3.156 kB / 3.628 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/6.46, allocations: 3.906 kB / 3.628 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/6.46, allocations: 102.7 kB / 3.628 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000327/6.46, allocations: 0.6058 MB / 3.629 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/6.461, allocations: 65.3 kB / 3.629 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/6.461, allocations: 23.28 kB / 3.629 GB, free: 288.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/6.461, allocations: 3.812 kB / 3.629 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006558/6.462, allocations: 394.2 kB / 3.63 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/6.462, allocations: 3.938 kB / 3.63 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/6.462, allocations: 3.938 kB / 3.63 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/6.462, allocations: 87.19 kB / 3.63 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/6.462, allocations: 3.969 kB / 3.63 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/6.463, allocations: 63 kB / 3.63 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/6.463, allocations: 21.73 kB / 3.63 GB, free: 288.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001216/6.463, allocations: 117.7 kB / 3.63 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/6.463, allocations: 50.84 kB / 3.63 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/6.464, allocations: 432.1 kB / 3.63 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/6.464, allocations: 3.781 kB / 3.63 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/6.464, allocations: 3.906 kB / 3.63 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000559/6.465, allocations: 0.6579 MB / 3.631 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/6.466, allocations: 1.122 MB / 3.632 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/6.466, allocations: 3.25 kB / 3.632 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/6.467, allocations: 94.97 kB / 3.632 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/6.467, allocations: 3.469 kB / 3.632 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/6.467, allocations: 10.53 kB / 3.632 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/6.467, allocations: 0.5919 MB / 3.633 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/6.467, allocations: 10.08 kB / 3.633 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008921/6.468, allocations: 0.7866 MB / 3.633 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001388/6.469, allocations: 1.442 MB / 3.635 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/6.47, allocations: 172.4 kB / 3.635 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/6.47, allocations: 5.484 kB / 3.635 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/6.47, allocations: 37.39 kB / 3.635 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/6.47, allocations: 24.14 kB / 3.635 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/6.471, allocations: 17.92 kB / 3.635 GB, free: 286 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003333/6.471, allocations: 281.1 kB / 3.635 GB, free: 285.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00346/6.474, allocations: 0.7563 MB / 3.636 GB, free: 285.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002392/6.477, allocations: 1.55 MB / 3.638 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001327/6.478, allocations: 0.5737 MB / 3.638 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/6.478, allocations: 2.438 kB / 3.638 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/6.478, allocations: 182.6 kB / 3.638 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/6.48, allocations: 292.8 kB / 3.639 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/6.482, allocations: 1.068 MB / 3.64 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/6.482, allocations: 1.018 MB / 3.641 GB, free: 284.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/6.482, allocations: 3.562 kB / 3.641 GB, free: 284.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)