Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.81/2.81, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 84.95 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004895, allocations: 10.86 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008384/0.2238, allocations: 270.1 kB / 0.9786 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2258, allocations: 1.203 MB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.2258, allocations: 0 / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2259, allocations: 3.938 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.226, allocations: 4 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.2268, allocations: 259.4 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.227, allocations: 47.92 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.227, allocations: 4 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.2271, allocations: 39.91 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.2272, allocations: 43.89 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.2272, allocations: 4 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.2277, allocations: 167.7 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.2278, allocations: 11.97 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.2278, allocations: 33.64 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.2282, allocations: 195.7 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2282, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2282, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.2282, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 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.0003964/0.2286, allocations: 427 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2287, allocations: 12.02 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.2288, allocations: 34.56 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.2288, allocations: 11.95 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.229, allocations: 183 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.229, allocations: 4 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.229, allocations: 7.984 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.2293, allocations: 125.5 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2293, allocations: 0 / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2294, allocations: 7.938 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2294, allocations: 0 / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2296, allocations: 59.94 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.2297, allocations: 165.6 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.23, allocations: 114.6 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.23, allocations: 0 / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.23, allocations: 38.48 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.23, allocations: 0 / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007383/0.2308, allocations: 372.3 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2308, allocations: 85.11 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.231, allocations: 133.7 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.231, allocations: 29.7 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.2311, allocations: 84.14 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.2311, allocations: 15.8 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.2311, allocations: 4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.2312, allocations: 322.8 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2314, allocations: 59.94 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2315, allocations: 56.14 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2317, allocations: 101.7 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2317, allocations: 0 / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004701/0.2322, allocations: 231.2 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.2323, allocations: 41.69 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2323, allocations: 0 / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2323, allocations: 4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.2323, allocations: 0 / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2323, allocations: 0 / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2328, allocations: 19.92 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.2329, allocations: 19.98 kB / 0.9832 GB, free: 23.02 MB / 0.6198 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.0001574/0.2331, allocations: 171.5 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.2331, allocations: 11.91 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.2331, allocations: 8.375 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2331, allocations: 0 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2332, allocations: 384 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2332, allocations: 0 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2333, allocations: 177.5 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2333, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.2333, allocations: 3.938 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2333, allocations: 4 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.2334, allocations: 15.98 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2334, allocations: 3.938 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2334, allocations: 0 / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.2339, allocations: 290.5 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.234, allocations: 93.08 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.2341, allocations: 4 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.2344, allocations: 19.92 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.2345, allocations: 16.02 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.2346, allocations: 15.98 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.2346, allocations: 99.27 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2346, allocations: 0 / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005403/0.2352, allocations: 83.98 kB / 0.9841 GB, free: 21.91 MB / 0.6198 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.001652/0.2369, allocations: 1.118 MB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2374, allocations: 291.2 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2374, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.2377, allocations: 211.3 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2379, allocations: 4 kB / 0.9857 GB, free: 20.33 MB / 0.6198 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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.0008528/0.2387, allocations: 336.2 kB / 0.986 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2389, allocations: 0.6809 MB / 0.9867 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.239, allocations: 51.86 kB / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.2391, allocations: 11.44 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2391, allocations: 0 / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.549/0.788, allocations: 4.735 MB / 0.9914 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.7884, allocations: 274.6 kB / 0.9916 GB, free: 14.29 MB / 0.6198 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.c:7: In file included from ./Buildings_8_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c In file included from Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_functions.o] Error 1