Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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/Complex trunk/package.mo): time 0.0009861/0.0009863, allocations: 199.7 kB / 8.538 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008883/0.0008883, allocations: 89.61 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1692/0.1692, allocations: 45.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2085/0.3777, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.474, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.8608, allocations: 216.2 MB / 0.715 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.861, allocations: 94.36 kB / 0.715 GB, free: 3.824 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 1.6/2.461, allocations: 0.6043 GB / 1.319 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/2.461, allocations: 8 kB / 1.319 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/2.465, allocations: 425.9 kB / 1.32 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/2.467, allocations: 0.905 MB / 1.321 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/2.467, allocations: 28 kB / 1.321 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/2.467, allocations: 51.94 kB / 1.321 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/2.469, allocations: 0.7771 MB / 1.321 GB, free: 52.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/2.47, allocations: 1.04 MB / 1.322 GB, free: 50.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/2.47, allocations: 3.938 kB / 1.322 GB, free: 50.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/2.47, allocations: 4 kB / 1.322 GB, free: 50.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/2.47, allocations: 20 kB / 1.322 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/2.476, allocations: 5.356 MB / 1.328 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/2.476, allocations: 471.1 kB / 1.328 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/2.477, allocations: 290.8 kB / 1.328 GB, free: 44.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/2.477, allocations: 1.387 MB / 1.33 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/2.477, allocations: 43.22 kB / 1.33 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/2.477, allocations: 2.406 kB / 1.33 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.008847/2.486, allocations: 1.57 MB / 1.331 GB, free: 41.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/2.486, allocations: 195.1 kB / 1.332 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/2.487, allocations: 0.6066 MB / 1.332 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/2.487, allocations: 36.59 kB / 1.332 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/2.487, allocations: 395 kB / 1.333 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/2.487, allocations: 216.7 kB / 1.333 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/2.487, allocations: 2.781 kB / 1.333 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/2.488, allocations: 334 kB / 1.333 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/2.488, allocations: 296.2 kB / 1.333 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/2.489, allocations: 485.5 kB / 1.334 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008777/2.497, allocations: 1.316 MB / 1.335 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/2.497, allocations: 0 / 1.335 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0104/2.508, allocations: 2.009 MB / 1.337 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003013/2.508, allocations: 1.831 MB / 1.339 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/2.508, allocations: 11.75 kB / 1.339 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/2.511, allocations: 460.3 kB / 1.339 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/2.512, allocations: 303.6 kB / 1.34 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/2.515, allocations: 1.017 MB / 1.341 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/2.516, allocations: 123.2 kB / 1.341 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/2.516, allocations: 160 kB / 1.341 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/2.516, allocations: 6.656 kB / 1.341 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006881/2.523, allocations: 1.533 MB / 1.342 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/2.523, allocations: 4 kB / 1.342 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/2.523, allocations: 79.14 kB / 1.342 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/2.524, allocations: 299.8 kB / 1.343 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/2.526, allocations: 1.586 MB / 1.344 GB, free: 27.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/2.527, allocations: 107.4 kB / 1.344 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/2.527, allocations: 124 kB / 1.345 GB, free: 27.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002896/2.527, allocations: 124.8 kB / 1.345 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/2.528, allocations: 98.78 kB / 1.345 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009804/2.537, allocations: 4.023 MB / 1.349 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/2.537, allocations: 8 kB / 1.349 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/2.537, allocations: 4 kB / 1.349 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/2.537, allocations: 3.984 kB / 1.349 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/2.539, allocations: 0.8687 MB / 1.35 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/2.539, allocations: 0 / 1.35 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/2.539, allocations: 171.8 kB / 1.35 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/2.54, allocations: 309.9 kB / 1.35 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/2.54, allocations: 23.98 kB / 1.35 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/2.542, allocations: 0.9864 MB / 1.351 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/2.542, allocations: 0 / 1.351 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003287/2.545, allocations: 1.433 MB / 1.352 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003436/2.548, allocations: 1.848 MB / 1.354 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/2.549, allocations: 315.3 kB / 1.354 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/2.549, allocations: 0 / 1.354 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/2.55, allocations: 71.92 kB / 1.355 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/2.55, allocations: 60.61 kB / 1.355 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/2.55, allocations: 47.97 kB / 1.355 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005288/2.551, allocations: 0.5004 MB / 1.355 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003851/2.555, allocations: 1.003 MB / 1.356 GB, free: 15.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/2.557, allocations: 0.626 MB / 1.357 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00229/2.559, allocations: 1.421 MB / 1.358 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/2.559, allocations: 0 / 1.358 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006428/2.56, allocations: 478.2 kB / 1.359 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/2.561, allocations: 403.8 kB / 1.359 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/2.564, allocations: 1.56 MB / 1.36 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/2.566, allocations: 1.314 MB / 1.362 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/2.566, allocations: 0 / 1.362 GB, free: 9.48 MB / 0.5261 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse/ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmutmp/sources' clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:214:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[102] /* V2._port_b._p variable */), mmc_mk_real(data->localData[0]->realVars[131] /* V5._port_b._h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:215:190: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure82_Modelica_Fluid_Valves_ValveIncompressible$V5_Medium_T__ph_f__nonlinear,tmpMeta[1]), 273.15, 593.15, 1e-13) - data->localData[0]->realVars[134] /* V5._state_a._T variable */; ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse/ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.def ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.a ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.so ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_03lsy.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_04set.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_05evt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_06inz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_07dly.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_08bnd.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_09alg.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_10asr.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_11mix.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_12jac.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_13opt.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_14lnz.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_15syn.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_16dae.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_17inl.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o