Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.742/1.742, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001722/0.001722, allocations: 187.9 kB / 377.1 MB, free: 1.504 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.59 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.001069/0.001069, allocations: 92.05 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7592/1.038, allocations: 142.9 MB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.039, allocations: 78.5 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02107/1.06, allocations: 7.889 MB / 1.136 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/1.06, allocations: 0 / 1.136 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.06, allocations: 8 kB / 1.136 GB, free: 27.18 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007692/1.061, allocations: 0.5522 MB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.061, allocations: 16.02 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/1.061, allocations: 37.61 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/1.061, allocations: 19.81 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/1.061, allocations: 261.2 kB / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.061, allocations: 8.797 kB / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/1.061, allocations: 12.88 kB / 1.137 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/1.062, allocations: 92.28 kB / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.062, allocations: 0 / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/1.062, allocations: 5.5 kB / 1.137 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/1.062, allocations: 6.406 kB / 1.137 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/1.062, allocations: 43.78 kB / 1.137 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/1.063, allocations: 475.5 kB / 1.137 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/1.063, allocations: 159.2 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/1.063, allocations: 1.016 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/1.063, allocations: 113.7 kB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/1.063, allocations: 0.6562 kB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003503/1.064, allocations: 167.8 kB / 1.138 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.064, allocations: 56.91 kB / 1.138 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.064, allocations: 184 kB / 1.138 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.064, allocations: 34.5 kB / 1.138 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/1.064, allocations: 121.4 kB / 1.138 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/1.064, allocations: 37.98 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/1.064, allocations: 5.031 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/1.064, allocations: 328.8 kB / 1.138 GB, free: 24.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/1.064, allocations: 32.27 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/1.064, allocations: 123.4 kB / 1.139 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/1.065, allocations: 37.48 kB / 1.139 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.065, allocations: 0 / 1.139 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002168/1.065, allocations: 155.9 kB / 1.139 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.065, allocations: 8.703 kB / 1.139 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.065, allocations: 0 / 1.139 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.065, allocations: 7.953 kB / 1.139 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/1.065, allocations: 19.08 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.065, allocations: 0 / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/1.065, allocations: 29.11 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/1.065, allocations: 12.12 kB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001187/1.065, allocations: 145.7 kB / 1.139 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/1.065, allocations: 15.81 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/1.065, allocations: 21.48 kB / 1.139 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.065, allocations: 3.953 kB / 1.139 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.065, allocations: 0 / 1.139 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.065, allocations: 5.359 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/1.066, allocations: 0.4905 MB / 1.139 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/1.066, allocations: 4.984 kB / 1.139 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/1.066, allocations: 8.984 kB / 1.139 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.066, allocations: 3.938 kB / 1.139 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/1.066, allocations: 4.984 kB / 1.139 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.066, allocations: 0 / 1.139 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.066, allocations: 9.594 kB / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.066, allocations: 222.2 kB / 1.14 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/1.066, allocations: 98.8 kB / 1.14 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.066, allocations: 4.797 kB / 1.14 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.067, allocations: 24.97 kB / 1.14 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/1.067, allocations: 17.98 kB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/1.067, allocations: 9.031 kB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001153/1.067, allocations: 135.6 kB / 1.14 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.067, allocations: 0 / 1.14 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003211/1.067, allocations: 50.09 kB / 1.14 GB, free: 22.87 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006505/1.068, allocations: 0.8508 MB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002236/1.068, allocations: 96.36 kB / 1.141 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.068, allocations: 0 / 1.141 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/1.068, allocations: 56 kB / 1.141 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/1.069, allocations: 46.33 kB / 1.141 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/1.07, allocations: 1.208 MB / 1.142 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/1.07, allocations: 0.7225 MB / 1.143 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.347e-05/1.07, allocations: 27.45 kB / 1.143 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/1.07, allocations: 54.8 kB / 1.143 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.07, allocations: 0 / 1.143 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/1.089, allocations: 4.957 MB / 1.148 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.089, allocations: 242.3 kB / 1.148 GB, free: 16.8 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_Validation_PlotterActivationGlobalInput.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_Validation_PlotterActivationGlobalInput_functions.o] Error 1