Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001151/0.001151, allocations: 177.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 0.6366 GB, free: 8.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008965/0.0008966, allocations: 93.8 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7442/1.053, allocations: 142.2 MB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.054, allocations: 78.78 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01743/1.071, allocations: 6.173 MB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.917e-06/1.071, allocations: 0 / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.847e-05/1.071, allocations: 4 kB / 1.133 GB, free: 28.76 MB / 0.7292 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.000743/1.072, allocations: 0.5328 MB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.072, allocations: 20.52 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/1.072, allocations: 41.7 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/1.072, allocations: 17.64 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/1.073, allocations: 260.6 kB / 1.134 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.073, allocations: 8.75 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/1.073, allocations: 12.8 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.073, allocations: 101.2 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.073, allocations: 0.7031 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.073, allocations: 0 / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.073, allocations: 4.609 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/1.073, allocations: 56.14 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/1.074, allocations: 476.1 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/1.074, allocations: 78.19 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/1.074, allocations: 4.688 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/1.074, allocations: 95.69 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/1.074, allocations: 4 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003143/1.075, allocations: 146.7 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.075, allocations: 52.62 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/1.075, allocations: 176.7 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/1.075, allocations: 29.7 kB / 1.135 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/1.075, allocations: 117.5 kB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.075, allocations: 41.98 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/1.075, allocations: 0 / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/1.075, allocations: 328.6 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/1.075, allocations: 28.31 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/1.076, allocations: 130.7 kB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/1.076, allocations: 38.31 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.076, allocations: 1.031 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002128/1.076, allocations: 161.5 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.076, allocations: 9.875 kB / 1.136 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/1.076, allocations: 4 kB / 1.136 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.076, allocations: 0 / 1.136 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.076, allocations: 18.92 kB / 1.136 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.076, allocations: 4.609 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/1.076, allocations: 18.91 kB / 1.136 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.076, allocations: 6.031 kB / 1.136 GB, free: 25.8 MB / 0.7292 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.000113/1.076, allocations: 139.6 kB / 1.136 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/1.076, allocations: 20.42 kB / 1.136 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/1.077, allocations: 126 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.077, allocations: 4 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.077, allocations: 0.75 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.077, allocations: 1.078 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/1.077, allocations: 460.5 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.077, allocations: 0.7969 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/1.077, allocations: 9.547 kB / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.077, allocations: 2.484 kB / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.077, allocations: 4.797 kB / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.077, allocations: 0 / 1.137 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.077, allocations: 7.938 kB / 1.137 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/1.077, allocations: 214.1 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/1.078, allocations: 98.61 kB / 1.137 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.078, allocations: 1.203 kB / 1.137 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/1.078, allocations: 11.89 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/1.078, allocations: 18.56 kB / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/1.078, allocations: 7.016 kB / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001011/1.078, allocations: 141.5 kB / 1.137 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.078, allocations: 0 / 1.137 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003042/1.078, allocations: 49.2 kB / 1.138 GB, free: 24.53 MB / 0.7292 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.0006182/1.079, allocations: 0.8228 MB / 1.138 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002033/1.079, allocations: 89.41 kB / 1.138 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.079, allocations: 0 / 1.138 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/1.079, allocations: 50.3 kB / 1.138 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/1.079, allocations: 43.84 kB / 1.139 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/1.081, allocations: 1.329 MB / 1.14 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/1.081, allocations: 0.7299 MB / 1.141 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.146e-05/1.081, allocations: 26.58 kB / 1.141 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/1.081, allocations: 48.88 kB / 1.141 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.081, allocations: 0 / 1.141 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/1.101, allocations: 4.545 MB / 1.145 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.101, allocations: 216.2 kB / 1.145 GB, free: 18.6 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_8_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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1