Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01497/0.01497, allocations: 89.08 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001946/0.001945, allocations: 170.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.197/2.197, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.537/2.537, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007936/0.000794, allocations: 11.19 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2586, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008739/0.2595, allocations: 281.8 kB / 0.7283 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2619, allocations: 1.203 MB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.262, allocations: 0 / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2621, allocations: 4 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.2622, allocations: 3.938 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.2632, allocations: 255.5 kB / 0.7298 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2633, allocations: 43.94 kB / 0.7298 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.2634, allocations: 4 kB / 0.7298 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.2634, allocations: 47.89 kB / 0.7299 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.2635, allocations: 43.83 kB / 0.7299 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.2636, allocations: 8 kB / 0.7299 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.2642, allocations: 159.7 kB / 0.7301 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.2642, allocations: 15.92 kB / 0.7301 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.2643, allocations: 33.69 kB / 0.7301 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.2647, allocations: 195.7 kB / 0.7303 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2647, allocations: 0 / 0.7303 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2647, allocations: 0 / 0.7303 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2648, allocations: 0 / 0.7303 GB, free: 5.824 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004746/0.2652, allocations: 417 kB / 0.7307 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2653, allocations: 8.031 kB / 0.7307 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.2654, allocations: 38.56 kB / 0.7307 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.2654, allocations: 15.8 kB / 0.7308 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2656, allocations: 183.3 kB / 0.7309 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2656, allocations: 4 kB / 0.7309 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2657, allocations: 4 kB / 0.7309 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.266, allocations: 121.6 kB / 0.7311 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.266, allocations: 0 / 0.7311 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2661, allocations: 11.92 kB / 0.7311 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2661, allocations: 0 / 0.7311 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.2663, allocations: 67.89 kB / 0.7311 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.2665, allocations: 157.7 kB / 0.7313 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.2668, allocations: 118.5 kB / 0.7314 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.2668, allocations: 0 / 0.7314 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2668, allocations: 34.55 kB / 0.7314 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.2668, allocations: 0 / 0.7314 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.000885/0.2677, allocations: 376.3 kB / 0.7318 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.2678, allocations: 93.08 kB / 0.7319 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2679, allocations: 125.7 kB / 0.732 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.268, allocations: 29.7 kB / 0.732 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2681, allocations: 80.14 kB / 0.7321 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.2681, allocations: 23.73 kB / 0.7321 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.2682, allocations: 4 kB / 0.7321 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2683, allocations: 318.8 kB / 0.7324 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.2685, allocations: 63.94 kB / 0.7325 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2686, allocations: 59.95 kB / 0.7325 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2688, allocations: 89.66 kB / 0.7326 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2688, allocations: 0 / 0.7326 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005533/0.2694, allocations: 231.2 kB / 0.7329 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.2695, allocations: 41.69 kB / 0.7329 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.2695, allocations: 4 kB / 0.7329 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2695, allocations: 0 / 0.7329 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.2695, allocations: 3.938 kB / 0.7329 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2696, allocations: 0 / 0.7329 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.27, allocations: 19.89 kB / 0.7329 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.2701, allocations: 24.05 kB / 0.7329 GB, free: 2.836 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.2704, allocations: 167.5 kB / 0.7331 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.2704, allocations: 11.91 kB / 0.7331 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2704, allocations: 8.375 kB / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2705, allocations: 0 / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2705, allocations: 384 / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2705, allocations: 0 / 0.7331 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2707, allocations: 177.5 kB / 0.7333 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2707, allocations: 0 / 0.7333 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.2707, allocations: 7.938 kB / 0.7333 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2707, allocations: 0 / 0.7333 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.2707, allocations: 15.98 kB / 0.7333 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2708, allocations: 0 / 0.7333 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2708, allocations: 0 / 0.7333 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.2714, allocations: 286.8 kB / 0.7336 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.2715, allocations: 104.9 kB / 0.7337 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.2716, allocations: 4 kB / 0.7337 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.272, allocations: 24.02 kB / 0.7337 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2721, allocations: 11.98 kB / 0.7337 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.2721, allocations: 11.98 kB / 0.7337 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.2722, allocations: 95.27 kB / 0.7338 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2722, allocations: 0 / 0.7338 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005293/0.2728, allocations: 95.92 kB / 0.7339 GB, free: 1.727 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/0.2748, allocations: 1.128 MB / 0.735 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.2754, allocations: 295.2 kB / 0.7353 GB, free: 376 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2755, allocations: 0 / 0.7353 GB, free: 376 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.2758, allocations: 211.3 kB / 0.7355 GB, free: 152 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.276, allocations: 8.125 kB / 0.7355 GB, free: 144 kB / 0.5573 GB Warning: Could not resolve URI ("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.277, allocations: 332.4 kB / 0.7358 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2772, allocations: 0.6848 MB / 0.7365 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.2774, allocations: 51.86 kB / 0.7365 GB, free: 15.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.2774, allocations: 11.44 kB / 0.7366 GB, free: 15 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/0.2774, allocations: 7.938 kB / 0.7366 GB, free: 14.99 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5235/0.8009, allocations: 4.724 MB / 0.7412 GB, free: 10.38 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004054/0.8014, allocations: 282.1 kB / 0.7414 GB, free: 10.02 MB / 0.573 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/pythonWrapper.c:21:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1