Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 248.5 MB / 261 MB, free: 6.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 105.7 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.289e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.072, allocations: 135.5 MB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.072, allocations: 82.58 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05824/1.13, allocations: 13.27 MB / 1.036 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.13, allocations: 0 / 1.036 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.62e-05/1.13, allocations: 7.938 kB / 1.036 GB, free: 4.617 MB / 0.6511 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.0009668/1.131, allocations: 0.5266 MB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.131, allocations: 8.031 kB / 1.037 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/1.131, allocations: 42.36 kB / 1.037 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/1.131, allocations: 23.72 kB / 1.037 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/1.132, allocations: 256 kB / 1.037 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.132, allocations: 8 kB / 1.037 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/1.132, allocations: 19.08 kB / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/1.133, allocations: 119.4 kB / 1.037 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.133, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.133, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.133, allocations: 4 kB / 1.037 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/1.133, allocations: 50.55 kB / 1.037 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/1.134, allocations: 0.5437 MB / 1.038 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/1.134, allocations: 99.77 kB / 1.038 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/1.134, allocations: 36.53 kB / 1.038 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/1.135, allocations: 4 kB / 1.038 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/1.135, allocations: 121.4 kB / 1.038 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.135, allocations: 4 kB / 1.038 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004161/1.135, allocations: 134.8 kB / 1.038 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/1.135, allocations: 81.09 kB / 1.038 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.136, allocations: 179.9 kB / 1.038 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/1.136, allocations: 33.58 kB / 1.038 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.136, allocations: 121.4 kB / 1.038 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/1.136, allocations: 35.25 kB / 1.038 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/1.136, allocations: 3.312 kB / 1.038 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.136, allocations: 331.5 kB / 1.039 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/1.136, allocations: 36 kB / 1.039 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/1.136, allocations: 129.2 kB / 1.039 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/1.137, allocations: 35.11 kB / 1.039 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.137, allocations: 7.938 kB / 1.039 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003782/1.137, allocations: 162.2 kB / 1.039 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.137, allocations: 4 kB / 1.039 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.137, allocations: 12.11 kB / 1.039 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.137, allocations: 4 kB / 1.039 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.137, allocations: 23.55 kB / 1.039 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.137, allocations: 0 / 1.039 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/1.138, allocations: 23.98 kB / 1.039 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.138, allocations: 7.438 kB / 1.039 GB, free: 1.465 MB / 0.6511 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 0.0001355/1.138, allocations: 128.8 kB / 1.039 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/1.138, allocations: 19.72 kB / 1.039 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/1.138, allocations: 20.53 kB / 1.039 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/1.138, allocations: 7.953 kB / 1.039 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.138, allocations: 4 kB / 1.039 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.138, allocations: 3.984 kB / 1.039 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/1.139, allocations: 461.3 kB / 1.04 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.139, allocations: 3.953 kB / 1.04 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/1.139, allocations: 7.984 kB / 1.04 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.139, allocations: 0 / 1.04 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.139, allocations: 7.438 kB / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.139, allocations: 0 / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.139, allocations: 0 / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/1.139, allocations: 246.2 kB / 1.04 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/1.139, allocations: 99.47 kB / 1.04 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/1.139, allocations: 3.25 kB / 1.04 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/1.14, allocations: 15.98 kB / 1.04 GB, free: 464 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/1.14, allocations: 19.28 kB / 1.04 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/1.14, allocations: 15.98 kB / 1.04 GB, free: 432 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001657/1.14, allocations: 137.6 kB / 1.04 GB, free: 312 kB / 0.6511 GB Notification: Performance of sort global known variables: time 2.144e-06/1.14, allocations: 0 / 1.04 GB, free: 312 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004549/1.141, allocations: 58.73 kB / 1.04 GB, free: 260 kB / 0.6511 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.001026/1.142, allocations: 0.9108 MB / 1.041 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003458/1.142, allocations: 98.98 kB / 1.041 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.142, allocations: 0 / 1.041 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.142, allocations: 49.06 kB / 1.041 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/1.143, allocations: 51.86 kB / 1.041 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/1.144, allocations: 266.6 kB / 1.042 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/1.144, allocations: 0.7209 MB / 1.042 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001393/1.144, allocations: 21.53 kB / 1.042 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.144, allocations: 54.66 kB / 1.042 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/1.144, allocations: 4 kB / 1.042 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/1.177, allocations: 4.949 MB / 1.047 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/1.177, allocations: 222.1 kB / 1.047 GB, free: 9.117 MB / 0.6667 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1