Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) 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) Running command: translateModel(ThermofluidStream.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") translateModel(ThermofluidStream.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 101.9 kB / 269.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.756/0.756, allocations: 91.22 MB / 407.8 MB, free: 2.539 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 55.86 kB / 483.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 64.98 MB / 0.5357 GB, free: 33.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleCoolingCycle): time 0.502/0.7955, allocations: 211.2 MB / 0.7419 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03/0.8255, allocations: 31.61 MB / 0.7727 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.8296, allocations: 47.44 kB / 0.7728 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.8331, allocations: 0.8382 MB / 0.7736 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.8388, allocations: 1.382 MB / 0.775 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007458/0.8463, allocations: 2.27 MB / 0.7772 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004808/0.8511, allocations: 2.982 MB / 0.7801 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.852, allocations: 0.5127 MB / 0.7806 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.8542, allocations: 1.045 MB / 0.7816 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.8554, allocations: 1.009 MB / 0.7826 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.8557, allocations: 104 kB / 0.7827 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006943/0.8626, allocations: 2.146 MB / 0.7848 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.8631, allocations: 366.8 kB / 0.7851 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.8643, allocations: 0.9263 MB / 0.786 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006761/0.8711, allocations: 3.449 MB / 0.7894 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8711, allocations: 0 / 0.7894 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8711, allocations: 0 / 0.7894 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.8711, allocations: 0 / 0.7894 GB, free: 15.64 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004912/0.8761, allocations: 2.63 MB / 0.792 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.8761, allocations: 8.031 kB / 0.792 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.8777, allocations: 333.1 kB / 0.7923 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.8792, allocations: 0.9827 MB / 0.7933 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.8795, allocations: 301.2 kB / 0.7935 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.8797, allocations: 166.8 kB / 0.7937 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.8827, allocations: 1.751 MB / 0.7954 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.8827, allocations: 3 kB / 0.7954 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.8829, allocations: 64 kB / 0.7955 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.8829, allocations: 36 kB / 0.7955 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.8858, allocations: 1.548 MB / 0.797 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009464/0.8953, allocations: 7.329 MB / 0.8042 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.8983, allocations: 1.59 MB / 0.8057 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.8996, allocations: 0.7236 MB / 0.8064 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007365/0.907, allocations: 5.891 MB / 0.8122 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.9088, allocations: 0.884 MB / 0.8131 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=150): time 2.775e-06/0.9088, allocations: 0 / 0.8131 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=150): time 0.01156/0.9204, allocations: 3.649 MB / 0.8166 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.9205, allocations: 145.8 kB / 0.8168 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.9219, allocations: 1.039 MB / 0.8178 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002661/0.9222, allocations: 49.7 kB / 0.8178 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.9229, allocations: 0.7499 MB / 0.8186 GB, free: 432 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/0.9234, allocations: 0.5046 MB / 0.819 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004699/0.9239, allocations: 283.5 kB / 0.8193 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.924, allocations: 301.1 kB / 0.8196 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.9253, allocations: 0.5748 MB / 0.8202 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.9269, allocations: 0.8373 MB / 0.821 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.9296, allocations: 1.412 MB / 0.8224 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.9296, allocations: 12 kB / 0.8224 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006597/0.9363, allocations: 2.35 MB / 0.8247 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.9363, allocations: 8 kB / 0.8247 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.9364, allocations: 8 kB / 0.8247 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/0.9395, allocations: 0.6774 MB / 0.8253 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.9411, allocations: 345.6 kB / 0.8257 GB, free: 9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.947, allocations: 5.496 MB / 0.831 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.9486, allocations: 190.5 kB / 0.8312 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.9488, allocations: 87.97 kB / 0.8313 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001712/0.9505, allocations: 0.7811 MB / 0.8321 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.9519, allocations: 0.8222 MB / 0.8329 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002632/0.9546, allocations: 1.391 MB / 0.8342 GB, free: 15.69 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/0.9546, allocations: 4 kB / 0.8342 GB, free: 15.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.006331/0.9609, allocations: 2.325 MB / 0.8365 GB, free: 13.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9609, allocations: 10.97 kB / 0.8365 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.961, allocations: 11.94 kB / 0.8365 GB, free: 13.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.964, allocations: 0.6851 MB / 0.8372 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9654, allocations: 341.7 kB / 0.8375 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.9714, allocations: 5.488 MB / 0.8429 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.9728, allocations: 170.8 kB / 0.843 GB, free: 6.301 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.973, allocations: 87.97 kB / 0.8431 GB, free: 6.215 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,PID.I.local_reset,thermalConvectionPipe.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000515/0.9735, allocations: 266.4 kB / 0.8434 GB, free: 5.965 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.9739, allocations: 162 kB / 0.8435 GB, free: 5.805 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007141/0.981, allocations: 2.491 MB / 0.846 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.9811, allocations: 19.94 kB / 0.846 GB, free: 3.285 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9811, allocations: 0 / 0.846 GB, free: 3.285 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.9811, allocations: 11.95 kB / 0.846 GB, free: 3.273 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008715/0.9898, allocations: 3.927 MB / 0.8498 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.9899, allocations: 4 kB / 0.8498 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.9913, allocations: 300.5 kB / 0.8501 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/0.9944, allocations: 0.6785 MB / 0.8508 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.9946, allocations: 51.97 kB / 0.8508 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006545/1.001, allocations: 5.482 MB / 0.8562 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.001, allocations: 0 / 0.8562 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1164/1.118, allocations: 31.98 MB / 0.8874 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.119, allocations: 378.5 kB / 0.8878 GB, free: 7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005391/1.119, allocations: 32 kB / 0.8878 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.121, allocations: 99.97 kB / 0.8879 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/1.121, allocations: 112.2 kB / 0.888 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003196/1.122, allocations: 79.95 kB / 0.8881 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001342/1.123, allocations: 0.6879 MB / 0.8888 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.683e-06/1.123, allocations: 0 / 0.8888 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006126/1.129, allocations: 1.985 MB / 0.8907 GB, free: 4.008 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,flexVolume.M,flexVolume.U_med,pump.m_flow,speed.phi,speed.w,speed1.phi,speed1.w,fan.m_flow,heatCapacitor.T,PID.I.y,PI.x) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00357/1.133, allocations: 1.573 MB / 0.8922 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006942/1.14, allocations: 3.45 MB / 0.8956 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/1.14, allocations: 0 / 0.8956 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/1.143, allocations: 1.364 MB / 0.8969 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.145, allocations: 400.8 kB / 0.8973 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009477/1.154, allocations: 5.99 MB / 0.9032 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.155, allocations: 1.364 MB / 0.9045 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003184/1.158, allocations: 0.4939 MB / 0.905 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/1.159, allocations: 207.3 kB / 0.9052 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/1.159, allocations: 0 / 0.9052 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.3417/1.501, allocations: 59.96 MB / 0.9637 GB, free: 261.1 MB / 0.6511 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Examples_SimpleCoolingCycle -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.o ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Examples_SimpleCoolingCycle -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.o ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:966:929: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERfa = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmin2) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:1656:280: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:970:929: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmax2) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:1656:280: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:1187:916: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERb) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24PheatExchange_5FCounterFlowNTU_24PMediumA_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:1656:280: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_heatExchange__CounterFlowNTU_MediumA_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:1440:834: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfa = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmin2) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:2130:234: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:1444:834: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmax2) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:2130:234: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.c:1661:821: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1, 1, 0.0, __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERb) * (omc__omcQ_24DER_24ThermofluidStream_24PMedia_24PmyMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1, 1, 0.0, omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT22, _OMC_LIT23, _OMC_LIT22, _OMC_LIT23, 0.0), 1.0, 0.0)) - __omcQ_24ThermofluidStream_24PExamples_24PSimpleCoolingCycle_24Psource_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero; ^~~ ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.h:2130:234: note: passing argument to parameter 'omc_name' here ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data omc_ThermofluidStream_Examples_SimpleCoolingCycle_source_Medium_T__h_Internal_f__nonlinear__Data (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R); ^ 6 errors generated. make: *** [: ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle_functions.o] Error 1