Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.785/1.785, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001156/0.001156, allocations: 188.1 kB / 377.1 MB, free: 1.531 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.76/1.76, allocations: 205.4 MB / 0.6366 GB, free: 8.656 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.001108/0.001108, allocations: 91.5 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005317, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9688/1.305, allocations: 142.9 MB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.306, allocations: 78.59 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03662/1.342, allocations: 12.37 MB / 1.14 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/1.342, allocations: 0 / 1.14 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.272e-05/1.342, allocations: 4 kB / 1.14 GB, free: 24.11 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001024/1.343, allocations: 0.5523 MB / 1.141 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.343, allocations: 12.02 kB / 1.141 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/1.344, allocations: 41.14 kB / 1.141 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/1.344, allocations: 23.81 kB / 1.141 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/1.344, allocations: 257.3 kB / 1.141 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.344, allocations: 12.7 kB / 1.141 GB, free: 23.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/1.344, allocations: 16.66 kB / 1.141 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/1.345, allocations: 117.9 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.345, allocations: 0 / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.345, allocations: 7.969 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.345, allocations: 0.6562 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/1.345, allocations: 52.98 kB / 1.141 GB, free: 23.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.346, allocations: 0.5444 MB / 1.142 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.346, allocations: 101.2 kB / 1.142 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/1.346, allocations: 0 / 1.142 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/1.346, allocations: 121.5 kB / 1.142 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/1.346, allocations: 8.781 kB / 1.142 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0003618/1.347, allocations: 161.9 kB / 1.142 GB, free: 22.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.347, allocations: 85.91 kB / 1.142 GB, free: 22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/1.347, allocations: 184.8 kB / 1.142 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/1.347, allocations: 34.5 kB / 1.142 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/1.347, allocations: 129.2 kB / 1.143 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/1.347, allocations: 26 kB / 1.143 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/1.347, allocations: 8 kB / 1.143 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/1.347, allocations: 332.9 kB / 1.143 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/1.347, allocations: 29.06 kB / 1.143 GB, free: 21.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/1.348, allocations: 133.1 kB / 1.143 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/1.348, allocations: 43.14 kB / 1.143 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.348, allocations: 0 / 1.143 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002594/1.348, allocations: 156.8 kB / 1.143 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.348, allocations: 4 kB / 1.143 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.348, allocations: 5.719 kB / 1.143 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.348, allocations: 8 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/1.348, allocations: 18.42 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.348, allocations: 4.609 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/1.348, allocations: 25.16 kB / 1.143 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.348, allocations: 8.094 kB / 1.143 GB, free: 20.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001444/1.349, allocations: 141.4 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/1.349, allocations: 24.33 kB / 1.143 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/1.349, allocations: 19.92 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/1.349, allocations: 4 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.349, allocations: 2.203 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.349, allocations: 4.703 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/1.349, allocations: 472.8 kB / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.349, allocations: 0 / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/1.349, allocations: 10.39 kB / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.349, allocations: 0 / 1.144 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/1.349, allocations: 8.641 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.35, allocations: 4 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.35, allocations: 0.75 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/1.35, allocations: 244.1 kB / 1.144 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/1.35, allocations: 92.44 kB / 1.144 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.35, allocations: 8.516 kB / 1.144 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.35, allocations: 18.08 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/1.35, allocations: 20.16 kB / 1.144 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.35, allocations: 13.41 kB / 1.144 GB, free: 19.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001216/1.35, allocations: 140.1 kB / 1.144 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.35, allocations: 0 / 1.144 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003564/1.351, allocations: 49.91 kB / 1.145 GB, free: 19.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0007316/1.351, allocations: 0.9084 MB / 1.145 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002386/1.352, allocations: 105.7 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.352, allocations: 1.219 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/1.352, allocations: 48.69 kB / 1.146 GB, free: 18.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/1.352, allocations: 51.86 kB / 1.146 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.353, allocations: 1.504 MB / 1.147 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.354, allocations: 0.736 MB / 1.148 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001258/1.354, allocations: 22.09 kB / 1.148 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/1.354, allocations: 53.48 kB / 1.148 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/1.354, allocations: 0 / 1.148 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/1.374, allocations: 4.918 MB / 1.153 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.374, allocations: 238 kB / 1.153 GB, free: 13.18 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_PlotterActivationLocalInput.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o] Error 1