Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 182.5 kB / 17.27 MB, free: 4.504 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.252/1.252, allocations: 205.1 MB / 223.1 MB, free: 8.453 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.0009414/0.0009414, allocations: 90.3 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3598/0.3598, allocations: 48.84 MB / 366.7 MB, free: 46.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009974/0.0009974, allocations: 55.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09572, allocations: 59.15 MB / 495.7 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3418/0.4376, allocations: 196.5 MB / 0.6761 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.4413, allocations: 2.284 MB / 0.6783 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.4417, allocations: 15.94 kB / 0.6783 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.4428, allocations: 433.8 kB / 0.6787 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.4439, allocations: 0.6451 MB / 0.6794 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.4465, allocations: 1.069 MB / 0.6804 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.4491, allocations: 2.977 MB / 0.6833 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008011/0.4499, allocations: 0.6111 MB / 0.6839 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.4507, allocations: 0.6927 MB / 0.6846 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.4515, allocations: 0.7551 MB / 0.6853 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.4516, allocations: 56 kB / 0.6854 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.4534, allocations: 1.072 MB / 0.6864 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.4538, allocations: 418.9 kB / 0.6868 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.4544, allocations: 0.5601 MB / 0.6874 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.4561, allocations: 1.71 MB / 0.689 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4561, allocations: 4 kB / 0.689 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4561, allocations: 3.938 kB / 0.689 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.4562, allocations: 0 / 0.689 GB, free: 1.324 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.1628/0.6189, allocations: 1.332 MB / 0.6903 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.619, allocations: 9.469 kB / 0.6903 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.6201, allocations: 178.4 kB / 0.6905 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.621, allocations: 0.553 MB / 0.6911 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.621, allocations: 64.75 kB / 0.6911 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6212, allocations: 87.34 kB / 0.6912 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.623, allocations: 1.059 MB / 0.6922 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.623, allocations: 3.156 kB / 0.6922 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.6231, allocations: 41.47 kB / 0.6923 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.6231, allocations: 21.83 kB / 0.6923 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6248, allocations: 0.8768 MB / 0.6932 GB, free: 170.1 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.63, allocations: 3.924 MB / 0.697 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.6316, allocations: 0.8083 MB / 0.6978 GB, free: 167 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.6323, allocations: 340.7 kB / 0.6981 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.6323, allocations: 19.94 kB / 0.6981 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.6324, allocations: 47.84 kB / 0.6982 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.324e-06/0.6324, allocations: 3.562 kB / 0.6982 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.01031/0.6427, allocations: 3.238 MB / 0.7013 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.6428, allocations: 109.2 kB / 0.7014 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.6434, allocations: 0.6508 MB / 0.7021 GB, free: 165 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.6435, allocations: 42.7 kB / 0.7021 GB, free: 165 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.6436, allocations: 368 kB / 0.7025 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6438, allocations: 238.5 kB / 0.7027 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.644, allocations: 148.9 kB / 0.7028 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.6441, allocations: 383 kB / 0.7032 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.6447, allocations: 365.9 kB / 0.7035 GB, free: 164 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.6455, allocations: 468.2 kB / 0.704 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.6468, allocations: 0.7821 MB / 0.7048 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6468, allocations: 7.719 kB / 0.7048 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002728/0.6495, allocations: 1.313 MB / 0.706 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6496, allocations: 10.08 kB / 0.7061 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6496, allocations: 3.875 kB / 0.7061 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004817/0.6544, allocations: 0.9744 MB / 0.707 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.6549, allocations: 109.6 kB / 0.7071 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.6571, allocations: 1.423 MB / 0.7085 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.658, allocations: 112.7 kB / 0.7086 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.6581, allocations: 40.27 kB / 0.7087 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000847/0.6589, allocations: 0.5069 MB / 0.7091 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006521/0.6596, allocations: 459.5 kB / 0.7096 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.6608, allocations: 0.7509 MB / 0.7103 GB, free: 161 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.6608, allocations: 0 / 0.7103 GB, free: 161 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002453/0.6632, allocations: 1.144 MB / 0.7114 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6633, allocations: 11.03 kB / 0.7114 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6633, allocations: 2.625 kB / 0.7114 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.6649, allocations: 445.7 kB / 0.7119 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.6656, allocations: 166.7 kB / 0.712 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.6671, allocations: 2.183 MB / 0.7142 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.668, allocations: 111 kB / 0.7143 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.6681, allocations: 37.25 kB / 0.7143 GB, free: 158.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002679/0.6684, allocations: 219.3 kB / 0.7145 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.6685, allocations: 80.56 kB / 0.7146 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.6707, allocations: 1.042 MB / 0.7156 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.6707, allocations: 6.594 kB / 0.7156 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6707, allocations: 0 / 0.7156 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6707, allocations: 2.953 kB / 0.7156 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.674, allocations: 2.067 MB / 0.7176 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.674, allocations: 3.375 kB / 0.7176 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/0.6749, allocations: 168.3 kB / 0.7178 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.6773, allocations: 433.9 kB / 0.7182 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.6774, allocations: 28.44 kB / 0.7182 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.6791, allocations: 2.774 MB / 0.721 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6791, allocations: 2.906 kB / 0.721 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0609/0.7401, allocations: 16.9 MB / 0.7375 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.7403, allocations: 146.1 kB / 0.7376 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7404, allocations: 18.72 kB / 0.7376 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008861/0.7413, allocations: 103.9 kB / 0.7377 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.7414, allocations: 56.67 kB / 0.7378 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.7415, allocations: 46.36 kB / 0.7378 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004986/0.742, allocations: 466 kB / 0.7383 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/0.742, allocations: 0 / 0.7383 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003537/0.7456, allocations: 1.148 MB / 0.7394 GB, free: 144.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003368/0.749, allocations: 0.8661 MB / 0.7402 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.7528, allocations: 1.509 MB / 0.7417 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7528, allocations: 4.719 kB / 0.7417 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.7539, allocations: 0.5924 MB / 0.7423 GB, free: 143 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.7563, allocations: 474.9 kB / 0.7427 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.7596, allocations: 2.923 MB / 0.7456 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.76, allocations: 1.023 MB / 0.7466 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001039/0.761, allocations: 232.4 kB / 0.7468 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.7614, allocations: 87.36 kB / 0.7469 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.7614, allocations: 0 / 0.7469 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.04824/0.8096, allocations: 47.05 MB / 0.7928 GB, free: 92.27 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_functions.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_records.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_01exo.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_02nls.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_03lsy.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_04set.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_05evt.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_06inz.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_07dly.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_08bnd.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_09alg.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_10asr.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_11mix.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_12jac.o ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_12jac.c ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_12jac.c:677:174: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) jacobian->tmpVars[51] /* PressDrop1.gas.T.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = DIVISION(jacobian->tmpVars[56] /* PressDrop1.gas.h.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ - (mul_alloc_real_array_scalar(tmp56, jacobian->tmpVars[15] /* $cse9 JACOBIAN_DIFF_VAR */)),jacobian->tmpVars[16] /* $cse8 JACOBIAN_DIFF_VAR */,"$cse8"); ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42:41: note: expanded from macro 'DIVISION' #define DIVISION(a,b,c) (((b) != 0) ? ((a) / (b)) : ((a) / division_error_time(threadData, b, c, data->localData[0]->timeValue, __FILE__, __LINE__,data->simulationInfo->noThrowDivZero?1:0))) ^ ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_12jac.c:677:174: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) jacobian->tmpVars[51] /* PressDrop1.gas.T.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ = DIVISION(jacobian->tmpVars[56] /* PressDrop1.gas.h.$pDERA.dummyVarA JACOBIAN_DIFF_VAR */ - (mul_alloc_real_array_scalar(tmp56, jacobian->tmpVars[15] /* $cse9 JACOBIAN_DIFF_VAR */)),jacobian->tmpVars[16] /* $cse8 JACOBIAN_DIFF_VAR */,"$cse8"); ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42:55: note: expanded from macro 'DIVISION' #define DIVISION(a,b,c) (((b) != 0) ? ((a) / (b)) : ((a) / division_error_time(threadData, b, c, data->localData[0]->timeValue, __FILE__, __LINE__,data->simulationInfo->noThrowDivZero?1:0))) ^ 2 errors generated. make: *** [: ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer_12jac.o] Error 1