Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7794/0.7794, allocations: 141.8 MB / 149.1 MB, free: 2.227 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 181.2 kB / 181.9 MB, free: 1.75 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.4 MB / 436 MB, free: 6.355 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 92.34 kB / 0.507 GB, free: 3.031 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 279.4 kB / 0.5884 GB, free: 48.02 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.863e-06, allocations: 0 / 0.6759 GB, free: 6.402 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4562, allocations: 82.76 MB / 0.7567 GB, free: 25.55 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.18/4.636, allocations: 1.892 GB / 2.649 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.636, allocations: 87.95 kB / 2.649 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.571/8.207, allocations: 1.049 GB / 3.698 GB, free: 91.88 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002351/8.208, allocations: 48.45 kB / 3.698 GB, free: 91.87 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005576/8.213, allocations: 2.069 MB / 3.7 GB, free: 90.76 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/8.213, allocations: 10.59 kB / 3.7 GB, free: 90.76 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/8.218, allocations: 0.6483 MB / 3.701 GB, free: 90.65 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/8.222, allocations: 1.458 MB / 3.702 GB, free: 90.21 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/8.222, allocations: 127.1 kB / 3.703 GB, free: 90.21 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/8.222, allocations: 72.97 kB / 3.703 GB, free: 90.21 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002089/8.224, allocations: 1.015 MB / 3.704 GB, free: 90.2 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/8.227, allocations: 1.23 MB / 3.705 GB, free: 89.86 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/8.227, allocations: 3.906 kB / 3.705 GB, free: 89.85 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/8.227, allocations: 3.844 kB / 3.705 GB, free: 89.85 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/8.227, allocations: 42.77 kB / 3.705 GB, free: 89.85 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009504/8.236, allocations: 6.145 MB / 3.711 GB, free: 85.96 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/8.237, allocations: 0.5333 MB / 3.711 GB, free: 85.74 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/8.238, allocations: 457.6 kB / 3.712 GB, free: 85.56 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/8.238, allocations: 477.9 kB / 3.712 GB, free: 85.09 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/8.239, allocations: 0.5073 MB / 3.713 GB, free: 84.84 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=79): time 3.076e-06/8.239, allocations: 4.438 kB / 3.713 GB, free: 84.84 MB / 0.7138 GB Notification: Performance of matching and sorting (n=79): time 0.003035/8.242, allocations: 1.114 MB / 3.714 GB, free: 84.45 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/8.242, allocations: 195.4 kB / 3.714 GB, free: 84.23 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/8.243, allocations: 0.9359 MB / 3.715 GB, free: 83.83 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/8.243, allocations: 29.45 kB / 3.715 GB, free: 83.8 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/8.244, allocations: 0.5013 MB / 3.715 GB, free: 83.45 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/8.244, allocations: 261.5 kB / 3.716 GB, free: 83.25 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/8.244, allocations: 1.188 kB / 3.716 GB, free: 83.25 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/8.244, allocations: 343.6 kB / 3.716 GB, free: 82.92 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/8.245, allocations: 335.5 kB / 3.716 GB, free: 82.79 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/8.246, allocations: 0.5733 MB / 3.717 GB, free: 82.36 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/8.247, allocations: 466.2 kB / 3.717 GB, free: 82.2 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/8.247, allocations: 5.062 kB / 3.717 GB, free: 82.2 MB / 0.7138 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002721/8.249, allocations: 1.11 MB / 3.718 GB, free: 81.77 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000368/8.25, allocations: 1.695 MB / 3.72 GB, free: 80.02 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/8.25, allocations: 5.062 kB / 3.72 GB, free: 80.02 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/8.25, allocations: 51.56 kB / 3.72 GB, free: 80 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/8.251, allocations: 206.3 kB / 3.72 GB, free: 79.98 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005008/8.252, allocations: 0.6061 MB / 3.721 GB, free: 79.42 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/8.254, allocations: 163.5 kB / 3.721 GB, free: 79.39 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/8.254, allocations: 35.58 kB / 3.721 GB, free: 79.39 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/8.254, allocations: 4.062 kB / 3.721 GB, free: 79.39 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002335/8.256, allocations: 0.9214 MB / 3.722 GB, free: 79.05 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/8.256, allocations: 4.469 kB / 3.722 GB, free: 79.05 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/8.257, allocations: 47.36 kB / 3.722 GB, free: 79.03 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/8.258, allocations: 205.4 kB / 3.722 GB, free: 78.99 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/8.259, allocations: 1.477 MB / 3.724 GB, free: 77.55 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/8.261, allocations: 152.7 kB / 3.724 GB, free: 77.49 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/8.261, allocations: 40.39 kB / 3.724 GB, free: 77.48 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003972/8.262, allocations: 170.3 kB / 3.724 GB, free: 77.32 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/8.262, allocations: 146.8 kB / 3.724 GB, free: 77.24 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/8.265, allocations: 1.054 MB / 3.725 GB, free: 76.6 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/8.265, allocations: 8 kB / 3.725 GB, free: 76.59 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/8.265, allocations: 0 / 3.725 GB, free: 76.59 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/8.266, allocations: 0.9445 MB / 3.726 GB, free: 75.61 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/8.27, allocations: 2.544 MB / 3.729 GB, free: 73.02 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/8.27, allocations: 4 kB / 3.729 GB, free: 73.01 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/8.271, allocations: 189.8 kB / 3.729 GB, free: 72.83 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/8.272, allocations: 40.84 kB / 3.729 GB, free: 72.79 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/8.272, allocations: 15.98 kB / 3.729 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/8.272, allocations: 0.5907 MB / 3.729 GB, free: 72.16 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/8.272, allocations: 4 kB / 3.73 GB, free: 72.16 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002406/8.274, allocations: 1.835 MB / 3.731 GB, free: 70.22 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/8.275, allocations: 346.3 kB / 3.732 GB, free: 69.86 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/8.275, allocations: 8 kB / 3.732 GB, free: 69.86 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/8.277, allocations: 123.2 kB / 3.732 GB, free: 69.75 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/8.277, allocations: 51 kB / 3.732 GB, free: 69.7 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/8.277, allocations: 35.98 kB / 3.732 GB, free: 69.66 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.000908/8.278, allocations: 0.7072 MB / 3.733 GB, free: 68.96 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002638/8.28, allocations: 0.9658 MB / 3.733 GB, free: 67.99 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003089/8.284, allocations: 2.646 MB / 3.736 GB, free: 65.76 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.00224/8.286, allocations: 1.53 MB / 3.738 GB, free: 64.21 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/8.286, allocations: 3.844 kB / 3.738 GB, free: 64.21 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005891/8.286, allocations: 498 kB / 3.738 GB, free: 63.72 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/8.29, allocations: 0.6723 MB / 3.739 GB, free: 63.09 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/8.297, allocations: 2.557 MB / 3.741 GB, free: 60.64 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/8.298, allocations: 1.481 MB / 3.743 GB, free: 59.14 MB / 0.7138 GB Notification: Performance of SimCode: time 9.61e-07/8.298, allocations: 0 / 3.743 GB, free: 59.14 MB / 0.7138 GB Notification: Performance of Templates: time 0.06714/8.365, allocations: 43.93 MB / 3.786 GB, free: 16.1 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)