Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.745/1.745, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001032/0.001032, allocations: 177.7 kB / 371.6 MB, free: 3.383 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.016/2.016, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009854/0.0009854, allocations: 89.25 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.613e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3157, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.319, allocations: 142.9 MB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.319, allocations: 82.59 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03477/1.354, allocations: 13.25 MB / 1.132 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.345e-06/1.354, allocations: 0 / 1.132 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.898e-05/1.354, allocations: 0 / 1.132 GB, free: 34.82 MB / 0.7448 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.000871/1.355, allocations: 0.5309 MB / 1.133 GB, free: 34.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.355, allocations: 8.031 kB / 1.133 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/1.355, allocations: 45.95 kB / 1.133 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/1.355, allocations: 27.08 kB / 1.133 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/1.356, allocations: 257 kB / 1.133 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/1.356, allocations: 11.94 kB / 1.133 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/1.356, allocations: 15.03 kB / 1.133 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/1.356, allocations: 118.5 kB / 1.133 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.356, allocations: 0 / 1.133 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.356, allocations: 0.75 kB / 1.133 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.356, allocations: 4 kB / 1.133 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/1.356, allocations: 46.7 kB / 1.133 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.357, allocations: 0.5508 MB / 1.134 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/1.357, allocations: 97 kB / 1.134 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/1.358, allocations: 37.22 kB / 1.134 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/1.358, allocations: 4 kB / 1.134 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/1.358, allocations: 127.1 kB / 1.134 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/1.358, allocations: 0 / 1.134 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000305/1.358, allocations: 125.1 kB / 1.134 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.358, allocations: 84.62 kB / 1.134 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/1.358, allocations: 180.3 kB / 1.135 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/1.358, allocations: 40.14 kB / 1.135 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/1.358, allocations: 125.7 kB / 1.135 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/1.359, allocations: 33.38 kB / 1.135 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/1.359, allocations: 3 kB / 1.135 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.359, allocations: 328.2 kB / 1.135 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/1.359, allocations: 36 kB / 1.135 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.359, allocations: 132.5 kB / 1.135 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/1.359, allocations: 38.61 kB / 1.135 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.359, allocations: 0 / 1.135 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002806/1.359, allocations: 160.5 kB / 1.136 GB, free: 31.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.359, allocations: 4 kB / 1.136 GB, free: 31.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.359, allocations: 4 kB / 1.136 GB, free: 31.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.359, allocations: 0 / 1.136 GB, free: 31.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/1.36, allocations: 22.41 kB / 1.136 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.36, allocations: 10.77 kB / 1.136 GB, free: 31.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/1.36, allocations: 31.06 kB / 1.136 GB, free: 31.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/1.36, allocations: 11.19 kB / 1.136 GB, free: 31.91 MB / 0.7448 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 () * 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 9.025e-05/1.36, allocations: 127.6 kB / 1.136 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/1.36, allocations: 15.81 kB / 1.136 GB, free: 31.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/1.36, allocations: 17.22 kB / 1.136 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.36, allocations: 0 / 1.136 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.36, allocations: 7.422 kB / 1.136 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.36, allocations: 7.953 kB / 1.136 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/1.361, allocations: 461.7 kB / 1.136 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.361, allocations: 5.031 kB / 1.136 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/1.361, allocations: 7.516 kB / 1.136 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.361, allocations: 4 kB / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/1.361, allocations: 3.953 kB / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/1.361, allocations: 4 kB / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.361, allocations: 0 / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/1.361, allocations: 235.6 kB / 1.136 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/1.361, allocations: 104 kB / 1.137 GB, free: 31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/1.361, allocations: 8 kB / 1.137 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.361, allocations: 19.02 kB / 1.137 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/1.361, allocations: 18.31 kB / 1.137 GB, free: 30.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/1.361, allocations: 8.156 kB / 1.137 GB, free: 30.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001039/1.361, allocations: 137.8 kB / 1.137 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.361, allocations: 0 / 1.137 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000377/1.362, allocations: 47.5 kB / 1.137 GB, free: 30.82 MB / 0.7448 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 () * 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.0007436/1.363, allocations: 0.9221 MB / 1.138 GB, free: 29.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002262/1.363, allocations: 100.1 kB / 1.138 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.363, allocations: 0 / 1.138 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/1.363, allocations: 50.39 kB / 1.138 GB, free: 29.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/1.363, allocations: 52.42 kB / 1.138 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/1.364, allocations: 255.8 kB / 1.138 GB, free: 29.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/1.364, allocations: 0.7332 MB / 1.139 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001006/1.364, allocations: 22.64 kB / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/1.364, allocations: 56.22 kB / 1.139 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/1.364, allocations: 0.75 kB / 1.139 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.385, allocations: 4.955 MB / 1.144 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/1.386, allocations: 219 kB / 1.144 GB, free: 25.73 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_PlotterActivationLocalInputFirstOff.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_PlotterActivationLocalInputFirstOff_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff_functions.o] Error 1