Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.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.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter",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.612/2.612, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001626/0.001626, allocations: 193.4 kB / 370.8 MB, free: 10.85 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.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001174/0.001174, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 11.47 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2105, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002351/0.2129, allocations: 1.525 MB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2144, allocations: 0.597 MB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.2145, allocations: 3.938 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.2147, allocations: 27.78 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.2151, allocations: 103.7 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2156, allocations: 133.4 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.2159, allocations: 127.8 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.216, allocations: 37.47 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2161, allocations: 87.62 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.2179, allocations: 0.7999 MB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.218, allocations: 8 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2182, allocations: 16 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.2183, allocations: 39.83 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.2183, allocations: 53.62 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2186, allocations: 136 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2186, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2186, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2186, allocations: 0 / 0.9819 GB, free: 24.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007644/0.2194, allocations: 0.5099 MB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2195, allocations: 12.02 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.2195, allocations: 38.56 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.2196, allocations: 27.75 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.2199, allocations: 226.8 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2199, allocations: 12.19 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.22, allocations: 12 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.2203, allocations: 107.1 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2203, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2203, allocations: 8 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2203, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2205, allocations: 52.48 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2216, allocations: 484.3 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.2218, allocations: 74.55 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2218, allocations: 3.984 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.2221, allocations: 103.9 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.305e-06/0.2221, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003953/0.2225, allocations: 142.6 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.2226, allocations: 59.41 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.2228, allocations: 194.1 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2228, allocations: 33.7 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.2229, allocations: 116.5 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.223, allocations: 31.55 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.223, allocations: 8 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.2231, allocations: 330.8 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.2232, allocations: 31.94 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.2235, allocations: 124.5 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2236, allocations: 40.86 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2236, allocations: 0 / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003095/0.2239, allocations: 154.2 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.224, allocations: 4 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.224, allocations: 8.156 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.224, allocations: 0 / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2242, allocations: 27.92 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2242, allocations: 0 / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.2245, allocations: 23.83 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2245, allocations: 12 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.2247, allocations: 133.7 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2247, allocations: 15.81 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.225, allocations: 131.7 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.225, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2251, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2251, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.2257, allocations: 471.4 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2258, allocations: 4 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.2258, allocations: 7.938 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2258, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.2259, allocations: 11.98 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2259, allocations: 0 / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2259, allocations: 0 / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2262, allocations: 212.7 kB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.2262, allocations: 96.94 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2263, allocations: 15.94 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2265, allocations: 11.98 kB / 0.9858 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.2266, allocations: 15.98 kB / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.2266, allocations: 7.984 kB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2267, allocations: 144.1 kB / 0.986 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2268, allocations: 0 / 0.986 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004337/0.2272, allocations: 47.94 kB / 0.986 GB, free: 19.96 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000727/0.2279, allocations: 0.8119 MB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.2282, allocations: 89.08 kB / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2283, allocations: 0 / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2284, allocations: 47.98 kB / 0.987 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2288, allocations: 44.16 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2301, allocations: 1.318 MB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2303, allocations: 0.7244 MB / 0.989 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.2304, allocations: 25.55 kB / 0.989 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2306, allocations: 51.41 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.2306, allocations: 0 / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.2606, allocations: 4.587 MB / 0.9935 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.2609, allocations: 219.9 kB / 0.9938 GB, free: 12.06 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_Utilities_Plotters_Examples_Scatter.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Utilities_Plotters_Examples_Scatter_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1